aboutsummaryrefslogtreecommitdiff
path: root/test/extern-initializer.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-15 23:53:12 -0700
committerMichael Forney <mforney@mforney.org>2019-05-16 00:33:57 -0700
commit73e7c145e0c5d983cec3be18240851324b818d9f (patch)
tree274d82e084a5382248ec857864398c796fd1582d /test/extern-initializer.c
parenta813137236b2c51de81dff3a869887f1b91cebee (diff)
decl: extern storage class with initializer is still a definition
Diffstat (limited to 'test/extern-initializer.c')
-rw-r--r--test/extern-initializer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/extern-initializer.c b/test/extern-initializer.c
new file mode 100644
index 0000000..a17c036
--- /dev/null
+++ b/test/extern-initializer.c
@@ -0,0 +1 @@
+extern int x = 1;