diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-25 04:59:04 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-25 04:59:04 +0000 |
commit | c717c1475464631f6eddb45f118bc461753cd96a (patch) | |
tree | 5bcba93aeb2ade7304b3e15a2afd510698152b01 | |
parent | a4186532dc0a3e786786f70912e9638d7f7070b8 (diff) | |
download | gcc-c717c1475464631f6eddb45f118bc461753cd96a.tar.gz |
* gcc.dg/cpp-wi1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32145 138bc75d-0d04-0410-961f-82ee72b054a4
-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" } */ |