Sign in
swiftshader
/
SwiftShader
/
1e7120e4c296e645eeaecbca4aa6adbc3b5b616f
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
TableGen
/
ifbit.td
blob: 18797cac11075aef1c4ac35ef4d6ff4422f48b88 [
file
] [
log
] [
blame
]
// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak
// CHECK: a = 6
// CHECK: a = 5
class
A
<
bit b
=
1
>
{
int
a
=
!
if
(
b
,
5
,
6
);
bit c
=
!
if
(
b
,
0
,
1
);
bits
<
1
>
d
=
!
if
(
b
,
0
,
1
);
}
def
X
:
A
<
0
>;
def
Y
:
A
;