aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-09-10 22:44:27 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-09-10 22:44:27 -0400
commit52f4e934a963a5497bd5dd9834e6c419cd171ae4 (patch)
tree70dd3f17fc1ff7dcd2849920b3d566544147b7e0 /test
parent7c9f7b72c59e7c6de38038f512ae332fc164e8d7 (diff)
downloadzig-52f4e934a963a5497bd5dd9834e6c419cd171ae4.tar.gz
zig-52f4e934a963a5497bd5dd9834e6c419cd171ae4.zip
fix llvm assertion and missing compile error
Diffstat (limited to 'test')
-rw-r--r--test/compile_errors.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index 185ca62973..dda45a5897 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -1291,6 +1291,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
\\
\\extern fn bar(x: *void) void { }
,
+ ".tmp_source.zig:1:30: error: parameter of type '*void' has 0 bits; not allowed in function with calling convention 'ccc'",
".tmp_source.zig:7:18: error: parameter of type '*void' has 0 bits; not allowed in function with calling convention 'ccc'",
);