mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
IR: all structs anonymous
This commit is contained in:
1 parent
2e6aa6d813
commit
e50ced44a2
11 files changed
+167
-196
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user