* gcc.dg/cpp-wi1.c: New test.

From-SVN: r32145
This commit is contained in:
Alexandre Oliva 2000-02-25 04:59:04 +00:00 committed by Alexandre Oliva
parent cff244b2b2
commit e729bc6d57
2 changed files with 11 additions and 0 deletions

View File

@ -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>

View File

@ -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" } */