diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/include2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/include2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/include2.c b/gcc/testsuite/gcc.dg/cpp/include2.c index 6a67f76..228963d 100644 --- a/gcc/testsuite/gcc.dg/cpp/include2.c +++ b/gcc/testsuite/gcc.dg/cpp/include2.c @@ -10,6 +10,8 @@ #include <silly\>> /* { dg-warning "extra tokens" "" } */ #include "silly\"" /* { dg-error "missing" "" } */ -/* { dg-error "No such file" "" { target *-*-* } 10 } */ -/* { dg-error "No such file" "" { target *-*-* } 11 } */ +/* These first 2 errors are No such file or directory. However, this + message is locale-dependent, so don't test for it. */ +/* { dg-error "silly" "" { target *-*-* } 10 } */ +/* { dg-error "silly" "" { target *-*-* } 11 } */ /* { dg-warning "extra tokens" "" { target *-*-* } 11 } */ |