Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Preprocessor / macro_expand.c
blob892c7a7188a63991213d6de955d9cb2b36e30948
1 // RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
3 #define X() Y
4 #define Y() X
6 A: X()()()
7 // CHECK: {{^}}A: Y{{$}}
9 // PR3927
10 #define f(x) h(x
11 #define for(x) h(x
12 #define h(x) x()
13 B: f(f))
14 C: for(for))
16 // CHECK: {{^}}B: f(){{$}}
17 // CHECK: {{^}}C: for(){{$}}
19 #define f(x,y...) y
20 f()
22 // CHECK: #pragma omp parallel for
23 #define FOO parallel
24 #define Streaming _Pragma("omp FOO for")
25 Streaming