diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/testsuite/ChangeLog | 2 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/cpp-wi1.c | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cda4dd3d71c..00a6fa7e6e0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + * gcc.dg/cpp-wi1.c: New test. + * gcc.dg/cpp-li1.c: New test. 2000-02-24 Nathan Sidwell <nathan@codesourcery.com> diff --git a/gcc/testsuite/gcc.dg/cpp-wi1.c b/gcc/testsuite/gcc.dg/cpp-wi1.c new file mode 100644 index 00000000000..837efadf935 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp-wi1.c @@ -0,0 +1,9 @@ +/* Copyright (C) 2000 Free Software Foundation. + + by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */ + +/* { dg-do preprocess } */ + +#line 1 L"foo" /* { dg-error "not a string" "wide string in #line" } */ +#include L"stdio.h" /* { dg-error "expects" "wide string in #include" } */ +#pragma implementation L"test.h" /* { dg-error "malformed" "wide string in #pragma implementation" } */ |

