aboutsummaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test64.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc/tests/simple_test64.c')
-rw-r--r--util/romcc/tests/simple_test64.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/util/romcc/tests/simple_test64.c b/util/romcc/tests/simple_test64.c
new file mode 100644
index 0000000000..389b1c1e32
--- /dev/null
+++ b/util/romcc/tests/simple_test64.c
@@ -0,0 +1,12 @@
+static void main(void)
+{
+ static const int foo = 2;
+ switch(foo) {
+ case 1:
+ break;
+ case 2:
+ break;
+ default:
+ break;
+ }
+}