summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test62.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc/tests/simple_test62.c')
-rw-r--r--util/romcc/tests/simple_test62.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/romcc/tests/simple_test62.c b/util/romcc/tests/simple_test62.c
new file mode 100644
index 0000000000..8fed660c5a
--- /dev/null
+++ b/util/romcc/tests/simple_test62.c
@@ -0,0 +1,7 @@
+static const int foo = 1;
+
+static void main(void)
+{
+ int x;
+ x = foo;
+}