We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b70d130 commit 2808f05Copy full SHA for 2808f05
clang/test/C/C2y/n3341.c
@@ -10,7 +10,9 @@
10
// expected-no-diagnostics
11
12
struct R {}; // gnu-warning {{empty struct is a GNU extension}}
13
+#if __STDC_VERSION__ >= 201112L
14
struct S { struct { }; }; // gnu-warning {{empty struct is a GNU extension}}
15
+#endif
16
struct T { int : 0; }; // gnu-warning {{struct without named members is a GNU extension}}
17
union U {}; // gnu-warning {{empty union is a GNU extension}}
18
0 commit comments