mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 20:24:54 +01:00
28 lines
837 B
Plaintext
28 lines
837 B
Plaintext
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
// AUTOUPDATE
|
|
|
|
fn Foo(a: i32) {}
|
|
fn Bar(a: i32) {}
|
|
|
|
// CHECK:STDOUT: --- same_param_name.carbon
|
|
// CHECK:STDOUT:
|
|
// CHECK:STDOUT: file {
|
|
// CHECK:STDOUT: package: <namespace> = namespace package, {.Foo = %Foo, .Bar = %Bar} [template]
|
|
// CHECK:STDOUT: %Foo: <function> = fn_decl @Foo [template]
|
|
// CHECK:STDOUT: %Bar: <function> = fn_decl @Bar [template]
|
|
// CHECK:STDOUT: }
|
|
// CHECK:STDOUT:
|
|
// CHECK:STDOUT: fn @Foo(%a: i32) {
|
|
// CHECK:STDOUT: !entry:
|
|
// CHECK:STDOUT: return
|
|
// CHECK:STDOUT: }
|
|
// CHECK:STDOUT:
|
|
// CHECK:STDOUT: fn @Bar(%a: i32) {
|
|
// CHECK:STDOUT: !entry:
|
|
// CHECK:STDOUT: return
|
|
// CHECK:STDOUT: }
|
|
// CHECK:STDOUT:
|