summaryrefslogtreecommitdiffstats
path: root/util/romcc/tests/fail_test6.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc/tests/fail_test6.c')
-rw-r--r--util/romcc/tests/fail_test6.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/romcc/tests/fail_test6.c b/util/romcc/tests/fail_test6.c
new file mode 100644
index 000000000000..cc7bcf52c60f
--- /dev/null
+++ b/util/romcc/tests/fail_test6.c
@@ -0,0 +1,11 @@
+
+
+static void hlt(void)
+{
+}
+
+static void main(void)
+{
+ void *foo;
+ foo = hlt;
+}