aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-05-25 00:39:05 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-05-25 00:39:18 -0400
commitca49b6f6b4ffa3ff4324a45501eef98848a2d141 (patch)
tree20ce57aa235c688e9be4032497208877edd7cb29
parente6afea99a9642a4fe12b65ef94fee0ee34d7a36b (diff)
downloadzig-ca49b6f6b4ffa3ff4324a45501eef98848a2d141.tar.gz
zig-ca49b6f6b4ffa3ff4324a45501eef98848a2d141.zip
struct fields with no explicit type are not supported
the c++ codebase lets it slide the self hosted parser correctly reports a parse error
-rw-r--r--test/cases/syntax.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/cases/syntax.zig b/test/cases/syntax.zig
index 6c851c0ff3..140a86d5c1 100644
--- a/test/cases/syntax.zig
+++ b/test/cases/syntax.zig
@@ -2,7 +2,6 @@
const struct_trailing_comma = struct { x: i32, y: i32, };
const struct_no_comma = struct { x: i32, y: i32 };
-const struct_no_comma_void_type = struct { x: i32, y };
const struct_fn_no_comma = struct { fn m() void {} y: i32 };
const enum_no_comma = enum { A, B };