aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c b/gcc-4.9/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c
new file mode 100644
index 000000000..31383e5d0
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c
@@ -0,0 +1,8 @@
+/* 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 *-*-* } } */