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
Simplify away redundant test, and document what's going on.
[llvm/stm8.git]
/
test
/
TableGen
/
eqbit.td
blob
3953252c4179412e24391e1abc53a886a67c07bf
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(!eq(b, 1), 5, 6);
8
}
9
10
def X : A<0>;
11
def Y : A;