diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-12-18 16:56:50 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-12-18 16:56:50 -0500 |
| commit | e50ced44a2cf6268c19df901ad56b367d8d802fe (patch) | |
| tree | b4bd67b3a0a8bdbc853dba760c0d66a406e11d4a /test/self_hosted2.zig | |
| parent | 2e6aa6d813cf3fd4180b8c9ffc671b4bcee54586 (diff) | |
| download | zig-e50ced44a2cf6268c19df901ad56b367d8d802fe.tar.gz zig-e50ced44a2cf6268c19df901ad56b367d8d802fe.zip | |
IR: all structs anonymous
Diffstat (limited to 'test/self_hosted2.zig')
| -rw-r--r-- | test/self_hosted2.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/self_hosted2.zig b/test/self_hosted2.zig index 517567271e..8692f51e17 100644 --- a/test/self_hosted2.zig +++ b/test/self_hosted2.zig @@ -87,9 +87,9 @@ var goto_counter: i32 = 0; -struct FooA { +const FooA = struct { fn add(a: i32, b: i32) -> i32 { a + b } -} +}; const foo_a = FooA {}; fn testStructStatic() { |
