mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-06 13:32:49 +00:00
f079de0a08
llvm-svn: 173484
22 lines
312 B
C
22 lines
312 B
C
// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
|
|
|
|
#define X() Y
|
|
#define Y() X
|
|
|
|
A: X()()()
|
|
// CHECK: {{^}}A: Y{{$}}
|
|
|
|
// PR3927
|
|
#define f(x) h(x
|
|
#define for(x) h(x
|
|
#define h(x) x()
|
|
B: f(f))
|
|
C: for(for))
|
|
|
|
// CHECK: {{^}}B: f(){{$}}
|
|
// CHECK: {{^}}C: for(){{$}}
|
|
|
|
// rdar://6880648
|
|
#define f(x,y...) y
|
|
f()
|