diff options
| author | Vexu <git@vexu.eu> | 2020-04-18 10:51:08 +0300 |
|---|---|---|
| committer | Vexu <git@vexu.eu> | 2020-04-18 11:39:52 +0300 |
| commit | 4f02cf32b43d725ebad8331cd0967b47597b29de (patch) | |
| tree | d3183ea2d413966ebfd8b756d2517b95baf8c759 /test/compile_errors.zig | |
| parent | 1afaf42525760edb78c287c216fda4aafc03d68f (diff) | |
| download | zig-4f02cf32b43d725ebad8331cd0967b47597b29de.tar.gz zig-4f02cf32b43d725ebad8331cd0967b47597b29de.zip | |
fix typeInfo tests
Diffstat (limited to 'test/compile_errors.zig')
| -rw-r--r-- | test/compile_errors.zig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig index c230e95afe..dfbb82edc6 100644 --- a/test/compile_errors.zig +++ b/test/compile_errors.zig @@ -712,15 +712,6 @@ pub fn addCases(cases: *tests.CompileErrorContext) void { "tmp.zig:2:28: error: invalid character: ';'", }); - cases.add("var args without c calling conv", - \\fn foo(args: ...) void {} - \\comptime { - \\ _ = foo; - \\} - , &[_][]const u8{ - "tmp.zig:1:8: error: var args only allowed in functions with C calling convention", - }); - cases.add("comptime struct field, no init value", \\const Foo = struct { \\ comptime b: i32, |
