aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2022-10-09 01:48:26 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2022-10-25 05:11:28 -0400
commita12535f5014cb2d4878581871287f17a31f28961 (patch)
tree7bbb5199f9797d19d1c3bb66e391c5d142fec65c /test/behavior/struct.zig
parentf399dd107a2b0387ca54688741d6c3fa0109ed39 (diff)
downloadzig-a12535f5014cb2d4878581871287f17a31f28961.tar.gz
zig-a12535f5014cb2d4878581871287f17a31f28961.zip
cbe: fix global access
Diffstat (limited to 'test/behavior/struct.zig')
-rw-r--r--test/behavior/struct.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/struct.zig b/test/behavior/struct.zig
index cd9572ae3a..6f5a4d93f4 100644
--- a/test/behavior/struct.zig
+++ b/test/behavior/struct.zig
@@ -329,7 +329,6 @@ fn testReturnEmptyStructFromFn() EmptyStruct2 {
test "pass slice of empty struct to fn" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
try expect(testPassSliceOfEmptyStructToFn(&[_]EmptyStruct2{EmptyStruct2{}}) == 1);
@@ -354,8 +353,6 @@ test "self-referencing struct via array member" {
}
test "empty struct method call" {
- if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
-
const es = EmptyStruct{};
try expect(es.method() == 1234);
}