IR: all structs anonymous

This commit is contained in:
Andrew Kelley
2016-12-18 16:56:50 -05:00
parent 2e6aa6d813
commit e50ced44a2
11 changed files with 167 additions and 196 deletions

View File

@@ -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() {