llvm-project/clang/test/Preprocessor/macro_arg_empty.c

8 lines
228 B
C

// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
#define FOO(x) x
#define BAR(x) x x
#define BAZ(x) [x] [ x] [x ]
[FOO()] [ FOO()] [FOO() ] [BAR()] [ BAR()] [BAR() ] BAZ()
// CHECK: [] [ ] [ ] [ ] [ ] [ ] [] [ ] [ ]