blob: a93c04e373c667a2c6ff0e05307ef52a98031dc3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// RUN: clang-cc -E %s | grep '^A: Y$'
// RUN: clang-cc -E %s | grep '^B: f()$'
// RUN: clang-cc -E %s | grep '^C: for()$'
#define X() Y
#define Y() X
A: X()()()
// PR3927
#define f(x) h(x
#define for(x) h(x
#define h(x) x()
B: f(f))
C: for(for))
// rdar://6880648
#define f(x,y...) y
f()
|