diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/widestr1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/widestr1.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/widestr1.c b/gcc/testsuite/gcc.dg/cpp/widestr1.c new file mode 100644 index 000000000..0b68201b0 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/widestr1.c @@ -0,0 +1,9 @@ +/* Copyright (C) 2000, 2001 Free Software Foundation. + + by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */ + +/* { dg-do preprocess } */ + +#line 1 L"foo" /* { dg-error "not a valid filename" "wide string in #line" } */ +#include L"stdio.h" /* { dg-error "expects" "wide string in #include" } */ + |