diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/syshdr4.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/syshdr4.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/syshdr4.c b/gcc/testsuite/gcc.dg/cpp/syshdr4.c deleted file mode 100644 index fe001d2ed0e..00000000000 --- a/gcc/testsuite/gcc.dg/cpp/syshdr4.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Contributed by Nicholas Ormrod */ -/* Origin: PR preprocessor/60723 */ - -/* This tests that multi-line macro callsites, which are defined - in system headers and whose expansion contains a builtin followed - by a non-builtin token, do not generate a line directive that - mark the current file as being a system file, when performing - non-integrated preprocessing. */ -/* System files suppress div-by-zero warnings, so the presence of - such indicates the lack of the bug. - - { dg-do compile } - { dg-options -no-integrated-cpp } */ - -#include "syshdr4.h" -FOO( -) - -int -foo() -{ - return 1 / 0; /* { dg-warning "div-by-zero" } */ - return 0; -} |