llvm-project/clang/test/Preprocessor/macro_expandloc.c

14 lines
276 B
C
Raw Normal View History

// 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.
// expected-error@+1 {{expected "FILENAME" or <FILENAME>}}
2006-06-26 09:25:11 +08:00
#include FOO
#define BAR BAZ
// expected-error@+1 {{expected "FILENAME" or <FILENAME>}}
#include BAR