aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/expr_invalid_tok.c
blob: 2918bc6536c9dcac4abcf7f21447e52aedd00a52 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: not clang -E %s 2>&1 | grep 'invalid token at start of a preprocessor expression'
// RUN: not clang -E %s 2>&1 | grep 'token is not a valid binary operator in a preprocessor subexpression'
// PR2220

#if 1 * * 2
#endif

#if 4 [ 2
#endif