diff options
Diffstat (limited to 'test')
| -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() { |
