repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git]
/
test
/
TableGen
/
ifbit.td
blob
3b0349e19b4e619e3d71b675c2d2517c2be73d80
1
// RUN: tblgen %s | FileCheck %s
2
// XFAIL: vg_leak
3
// CHECK: a = 6
4
// CHECK: a = 5
5
6
class A<bit b = 1> {
7
int a = !if(b, 5, 6);
8
}
9
10
def X : A<0>;
11
def Y : A;