fix this test to work with the checker.

llvm-svn: 39708
This commit is contained in:
Chris Lattner 2007-06-28 05:49:50 +00:00
parent 11f49640ef
commit bdf3f73eeb
1 changed files with 9 additions and 14 deletions

View File

@ -8,25 +8,20 @@
/* abc
ends with normal escaped newline:
*\
/ \
/* expected-warning {{escaped newline between}} \
expected-warning {{backslash and newline separated by space}} */
next comment ends with normal escaped newline:
*/
/* expected-warning {{escaped newline}} expected-warning {{backslash and newline}} *\
/
bar
/* xyz
next comment ends with a trigraph escaped newline: */
ends with a trigraph escaped newline:
*??/
/ \
/* expected-warning {{escaped newline between}} \
expected-warning {{backslash and newline separated by space}} \
expected-warning {{trigraph ends block comment}} */
/* expected-warning {{escaped newline between}} expected-warning {{backslash and newline separated by space}} expected-warning {{trigraph ends block comment}} *??/
/
foo \
/* expected-error \
{{expected '=', ',', ';', 'asm', or '__attribute__' after declarator}} */
foo /* expected-error {{expected '=', ',', ';', 'asm', or '__attribute__' after declarator}} */