2013-01-26 04:33:53 +08:00
|
|
|
// RUN: %clang_cc1 -E -verify %s
|
2006-06-26 09:25:11 +08:00
|
|
|
#define FOO 1
|
|
|
|
|
|
|
|
// The error message should be on the #include line, not the 1.
|
2013-01-26 04:33:53 +08:00
|
|
|
|
|
|
|
// expected-error@+1 {{expected "FILENAME" or <FILENAME>}}
|
2006-06-26 09:25:11 +08:00
|
|
|
#include FOO
|
|
|
|
|
2013-01-26 04:33:53 +08:00
|
|
|
#define BAR BAZ
|
|
|
|
|
|
|
|
// expected-error@+1 {{expected "FILENAME" or <FILENAME>}}
|
|
|
|
#include BAR
|
|
|
|
|