aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c')
-rw-r--r--gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c b/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c
new file mode 100644
index 0000000..60c9147
--- /dev/null
+++ b/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c
@@ -0,0 +1,9 @@
+/* Test the tester; previously part of gcc.misc-tests/dg-9.c. */
+/* { dg-prms-id 42 } */
+/* { dg-options "-Wall" } */
+
+main (int argc, char *argv[])
+{ /* { dg-bogus "return type" "bogus pass test" { xfail *-*-* } } */
+}
+
+/* { dg-excess-errors "bogus pass test" { xfail *-*-* } } */