summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/comment_save_macro.c
blob: 06066d21d57be11dd74ef221047d5f9e69f1aba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: clang-cc -E -C %s | FileCheck -strict-whitespace %s
// CHECK: boo bork bar // zot

// RUN: clang-cc -E -CC %s | FileCheck -strict-whitespace %s
// CHECK: boo bork /* blah*/ bar // zot

// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
// CHECK: boo bork bar


#define FOO bork // blah
boo FOO bar // zot

OpenPOWER on IntegriCloud