aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_expandloc.c
blob: 3b9eb5fdddfd0a44c46c95cd222a460e8c068447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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