aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNoam Preil <pleasantatk@gmail.com>2020-06-27 07:16:59 -0400
committerNoam Preil <pleasantatk@gmail.com>2020-06-27 07:17:20 -0400
commitab307a22f627fd01ef6220d62a0312fdd610eaed (patch)
treee2f75ed97513238b5172079a0b993c1912b4d093 /test
parent52787f2c9b8157f348a34f19a22025b78f95b873 (diff)
downloadzig-ab307a22f627fd01ef6220d62a0312fdd610eaed.tar.gz
zig-ab307a22f627fd01ef6220d62a0312fdd610eaed.zip
Stage2: remove clearErrors, fix ZIR export collision detection
Diffstat (limited to 'test')
-rw-r--r--test/stage2/compile_errors.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stage2/compile_errors.zig b/test/stage2/compile_errors.zig
index bfe4bf7d48..b324cdf5d5 100644
--- a/test/stage2/compile_errors.zig
+++ b/test/stage2/compile_errors.zig
@@ -70,7 +70,7 @@ pub fn addCases(ctx: *TestContext) !void {
);
// TODO: need to make sure this works with other variants of export.
- ctx.incrementalFailure("function redefinition", linux_x64,
+ ctx.incrementalFailure("exported symbol collision", linux_x64,
\\export fn entry() void {}
\\export fn entry() void {}
, &[_][]const u8{":2:11: error: redefinition of 'entry'"},