llvm-for-llvmta/tools/clang/test/Preprocessor/macro_expandloc.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

14 lines
276 B
C

// RUN: %clang_cc1 -E -verify %s
#define FOO 1
// The error message should be on the #include line, not the 1.
// expected-error@+1 {{expected "FILENAME" or <FILENAME>}}
#include FOO
#define BAR BAZ
// expected-error@+1 {{expected "FILENAME" or <FILENAME>}}
#include BAR