diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-01-31 22:33:49 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-01-31 22:33:49 -0700 |
| commit | 4d22fa5a2a4afce59b91efc7a6142ec633f0bd4d (patch) | |
| tree | c0eefd69483492a922bfcb0ae2bb85db76eed111 /test/compile_errors.zig | |
| parent | 75bbc74d56f26da812c47436c6f5712d3cfde12d (diff) | |
| download | zig-4d22fa5a2a4afce59b91efc7a6142ec633f0bd4d.tar.gz zig-4d22fa5a2a4afce59b91efc7a6142ec633f0bd4d.zip | |
update behavior tests and compile error tests
Diffstat (limited to 'test/compile_errors.zig')
| -rw-r--r-- | test/compile_errors.zig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig index 1802fdc284..9f32b9e1c3 100644 --- a/test/compile_errors.zig +++ b/test/compile_errors.zig @@ -1199,12 +1199,6 @@ pub fn addCases(ctx: *TestContext) !void { "tmp.zig:5:22: error: expected type 'fn([*c]u8, ...) callconv(.C) void', found 'fn([*:0]u8, ...) callconv(.C) void'", }); - ctx.testErrStage1("dependency loop in top-level decl with @TypeInfo when accessing the decls", - \\export const foo = @typeInfo(@This()).Struct.decls; - , &[_][]const u8{ - "tmp.zig:1:20: error: dependency loop detected", - }); - ctx.objErrStage1("function call assigned to incorrect type", \\export fn entry() void { \\ var arr: [4]f32 = undefined; |
