mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 08:54:47 +01:00
Use the name of a function as the name of its file-scope value. (#3262)
As requested in #3260.
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ fn F() -> i32 {
|
||||
}
|
||||
|
||||
// CHECK:STDOUT: file "basic.carbon" {
|
||||
// CHECK:STDOUT: %.loc7 = fn_decl @F
|
||||
// CHECK:STDOUT: %F = fn_decl @F
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: fn @F() -> i32 {
|
||||
|
||||
Reference in New Issue
Block a user