diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-06-27 18:32:59 +0300 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-06-30 09:57:38 +0200 |
| commit | 3204d00a5e7fe119b690e921138a439fb84dff5b (patch) | |
| tree | 40dba7f0816a1a8cae35657aa0d6bcb0ec19b6ba /test/cases/compile_errors/setAlignStack_in_naked_function.zig | |
| parent | c248af3bdcd17c334e742d53a7ac7bda2422a688 (diff) | |
| download | zig-3204d00a5e7fe119b690e921138a439fb84dff5b.tar.gz zig-3204d00a5e7fe119b690e921138a439fb84dff5b.zip | |
move passing stage1 compile error tests to stage2
Diffstat (limited to 'test/cases/compile_errors/setAlignStack_in_naked_function.zig')
| -rw-r--r-- | test/cases/compile_errors/setAlignStack_in_naked_function.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/cases/compile_errors/setAlignStack_in_naked_function.zig b/test/cases/compile_errors/setAlignStack_in_naked_function.zig new file mode 100644 index 0000000000..79c4ba6f5b --- /dev/null +++ b/test/cases/compile_errors/setAlignStack_in_naked_function.zig @@ -0,0 +1,9 @@ +export fn entry() callconv(.Naked) void { + @setAlignStack(16); +} + +// error +// backend=stage2 +// target=native +// +// :2:5: error: @setAlignStack in naked function |
