aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20030331-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/20030331-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/20030331-2.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20030331-2.c b/gcc/testsuite/gcc.dg/20030331-2.c
new file mode 100644
index 00000000000..210524da456
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/20030331-2.c
@@ -0,0 +1,10 @@
+// { dg-options "" }
+
+int foo() {
+ int yd;
+ float in[1][yd];
+
+ static void bar() {
+ printf("%p\n",in[0]);
+ }
+}