summaryrefslogtreecommitdiff
path: root/regress/usr.bin/pcc/ccom/mustpass0000.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/pcc/ccom/mustpass0000.c')
-rw-r--r--regress/usr.bin/pcc/ccom/mustpass0000.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/regress/usr.bin/pcc/ccom/mustpass0000.c b/regress/usr.bin/pcc/ccom/mustpass0000.c
new file mode 100644
index 00000000000..e7ff1688dfb
--- /dev/null
+++ b/regress/usr.bin/pcc/ccom/mustpass0000.c
@@ -0,0 +1,10 @@
+typedef int a;
+typedef int b;
+
+int
+main(void)
+{
+ enum a { a = 1, b = a + 2, c = a + b + 3 };
+
+ return 0;
+}