summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr67563.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr67563.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr67563.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr67563.c b/gcc/testsuite/gcc.dg/pr67563.c
new file mode 100644
index 00000000000..34a78a23a93
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/pr67563.c
@@ -0,0 +1,11 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -fexceptions" } */
+
+static void
+emit_package (int p1)
+{
+ int a;
+ int b[0];
+ a = __fprintf_chk (0, 0, "");
+}
+void emit_lua () { emit_package (0); }