- O2, enums, and switch statements work in romcc
[coreboot.git] / util / romcc / tests / simple_test65.c
diff --git a/util/romcc/tests/simple_test65.c b/util/romcc/tests/simple_test65.c
new file mode 100644 (file)
index 0000000..642882c
--- /dev/null
@@ -0,0 +1,10 @@
+enum tag {
+       X=1,
+       Y=2,
+};
+static void main(void)
+{
+       enum tag foo;
+       foo = Y;
+       
+}