move passing stage1 compile error tests to stage2
This commit is contained in:
committed by
Jakub Konka
parent
c248af3bdc
commit
3204d00a5e
11
test/cases/compile_errors/setAlignStack_set_twice.zig
Normal file
11
test/cases/compile_errors/setAlignStack_set_twice.zig
Normal file
@@ -0,0 +1,11 @@
|
||||
export fn entry() void {
|
||||
@setAlignStack(16);
|
||||
@setAlignStack(16);
|
||||
}
|
||||
|
||||
// error
|
||||
// backend=stage2
|
||||
// target=native
|
||||
//
|
||||
// :3:5: error: multiple @setAlignStack in the same function body
|
||||
// :2:5: note: other instance here
|
||||
Reference in New Issue
Block a user