aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/22-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/22-decl.c')
-rw-r--r--test/22-decl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/22-decl.c b/test/22-decl.c
index a14b776..b785021 100644
--- a/test/22-decl.c
+++ b/test/22-decl.c
@@ -14,6 +14,13 @@ extern unsigned local;
typedef struct foo { char r; } foo_t;
static const foo_t T = ((foo_t) { 3 });
+static const int X = 4;
+struct {
+ int k : X; /* EXTENSION */
+};
+
+foo_t empty[] = {}; /* EXTENSION */
+
int main() {
}