move stage2 compile errors out of special folder

This commit is contained in:
Veikka Tuominen
2022-12-11 16:28:48 +02:00
parent 0b4461d97b
commit 327fb798c3
16 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
const S = struct {
foo: u32,
foo: u32,
};
export fn entry() void {
const s: S = .{ .foo = 100 };
_ = s;
}
// error
// target=native
//
// :3:5: error: duplicate struct field: 'foo'
// :2:5: note: other field here
// :1:11: note: struct declared here