mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Associate a name with ClassDecl (#3447)
Note generics will probably need different behavior. --------- Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
co-authored by
Richard Smith
parent
ca53c18ddc
commit
962defd1e8
+2
-2
@@ -32,10 +32,10 @@ fn MakeOuter() -> Outer {
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: file {
|
||||
// CHECK:STDOUT: class_decl @Inner, ()
|
||||
// CHECK:STDOUT: %Inner.decl = class_decl @Inner, ()
|
||||
// CHECK:STDOUT: %Inner: type = class_type @Inner
|
||||
// CHECK:STDOUT: %MakeInner: <function> = fn_decl @MakeInner
|
||||
// CHECK:STDOUT: class_decl @Outer, ()
|
||||
// CHECK:STDOUT: %Outer.decl = class_decl @Outer, ()
|
||||
// CHECK:STDOUT: %Outer: type = class_type @Outer
|
||||
// CHECK:STDOUT: %MakeOuter: <function> = fn_decl @MakeOuter
|
||||
// CHECK:STDOUT: }
|
||||
|
||||
Reference in New Issue
Block a user