mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
e05b953fcd
be evaluated for 'bit' operators llvm-svn: 106185
12 lines
157 B
TableGen
12 lines
157 B
TableGen
// RUN: tblgen %s | FileCheck %s
|
|
// XFAIL: vg_leak
|
|
// CHECK: a = 6
|
|
// CHECK: a = 5
|
|
|
|
class A<bit b = 1> {
|
|
int a = !if(b, 5, 6);
|
|
}
|
|
|
|
def X : A<0>;
|
|
def Y : A;
|