repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git]
/
test
/
TableGen
/
prep-ifndef.td
blob
6e5254f28565862351ee12464d5ded53022b0b1c
1
// RUN: llvm-tblgen %s -DMACRO | FileCheck %s
2
// RUN: llvm-tblgen %s | FileCheck %s --check-prefix=CHECK-NOMACRO
3
4
#ifndef MACRO
5
// CHECK-NOMACRO: def nomacro
6
def nomacro;
7
#else
8
// CHECK: def macro
9
def macro;
10
#endif