Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / TableGen / prep-ifndef.td
blob6e5254f28565862351ee12464d5ded53022b0b1c
1 // RUN: llvm-tblgen %s -DMACRO | FileCheck %s
2 // RUN: llvm-tblgen %s | FileCheck %s --check-prefix=CHECK-NOMACRO
4 #ifndef MACRO
5 // CHECK-NOMACRO: def nomacro
6 def nomacro;
7 #else
8 // CHECK: def macro
9 def macro;
10 #endif