repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Alignment][NFC] migrate DataLayout internal struct to llvm::Align
[llvm-core.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