macro_expandloc.c 276 B

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