From f701c0c645abfd94c3ccedf38cbb0fe9f1414141 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 11 Apr 2021 17:44:35 -0700 Subject: decl: Allow _Static_assert in struct declaration --- test/static-assert-struct.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/static-assert-struct.c (limited to 'test/static-assert-struct.c') diff --git a/test/static-assert-struct.c b/test/static-assert-struct.c new file mode 100644 index 0000000..3b9f97d --- /dev/null +++ b/test/static-assert-struct.c @@ -0,0 +1,4 @@ +struct s { + int x; + _Static_assert(1, ""); +}; -- cgit v1.2.3