llvm-for-llvmta/tools/clang/test/Preprocessor/dump-macros-undef.c

9 lines
142 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -E -dD %s | FileCheck %s
// PR7818
// CHECK: # 1 "{{.+}}.c"
#define X 3
// CHECK: #define X 3
#undef X
// CHECK: #undef X