aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNoam Preil <pleasantatk@gmail.com>2020-06-15 21:47:42 -0400
committerNoam Preil <pleasantatk@gmail.com>2020-06-15 21:47:42 -0400
commita99e61ebaa71aa74dfa95869ea8d02131ef9f696 (patch)
tree2c2cce660fe15e54e07cfa93cb15097368818cdc /test
parentafec3e72f438fae41e493e3fd18ca62e5ef1c89b (diff)
downloadzig-a99e61ebaa71aa74dfa95869ea8d02131ef9f696.tar.gz
zig-a99e61ebaa71aa74dfa95869ea8d02131ef9f696.zip
Stage2/Testing: Code cleanup
Diffstat (limited to 'test')
-rw-r--r--test/stage2/compile_errors.zig6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/stage2/compile_errors.zig b/test/stage2/compile_errors.zig
index 5484b6459a..43c41aa364 100644
--- a/test/stage2/compile_errors.zig
+++ b/test/stage2/compile_errors.zig
@@ -9,8 +9,6 @@ const linux_x64 = std.zig.CrossTarget{
};
pub fn addCases(ctx: *TestContext) !void {
- // TODO: re-enable these tests.
- // https://github.com/ziglang/zig/issues/1364
ctx.addZIRError("call undefined local", linux_x64,
\\@noreturn = primitive(noreturn)
\\
@@ -47,6 +45,10 @@ pub fn addCases(ctx: *TestContext) !void {
\\@2 = export(@1, @start)
, &[_][]const u8{":4:9: error: unable to call function with naked calling convention"});
+ // TODO: re-enable these tests.
+ // https://github.com/ziglang/zig/issues/1364
+ // TODO: add Zig AST -> ZIR testing pipeline
+
//try ctx.testCompileError(
// \\export fn entry() void {}
// \\export fn entry() void {}