From e50ced44a2cf6268c19df901ad56b367d8d802fe Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 18 Dec 2016 16:56:50 -0500 Subject: IR: all structs anonymous --- test/self_hosted2.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/self_hosted2.zig') 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() { -- cgit v1.2.3