summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/dump-macros-undef.c
blob: 358fd17e468d616c3e34cdae97fef185dddca86d (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -E -dD %s | FileCheck %s
// PR7818

// CHECK: # 1 "{{.+}}.c"
#define X 3
// CHECK: #define X 3
#undef X
// CHECK: #undef X