diff options
Diffstat (limited to 'gcc/testsuite/gcc.test-framework/dg-do-run-sf-exp-P.c')
-rw-r--r-- | gcc/testsuite/gcc.test-framework/dg-do-run-sf-exp-P.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.test-framework/dg-do-run-sf-exp-P.c b/gcc/testsuite/gcc.test-framework/dg-do-run-sf-exp-P.c new file mode 100644 index 00000000000..6e9dd849c59 --- /dev/null +++ b/gcc/testsuite/gcc.test-framework/dg-do-run-sf-exp-P.c @@ -0,0 +1,10 @@ +/* { dg-do run } */ +/* { dg-shouldfail "required comment" } */ + +extern void abort (void); + +int +main () +{ + abort (); /* We expect nonzero, so this passes. */ +} |