mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 14:07:32 +00:00
78a1609fa2
llvm-svn: 141294
12 lines
162 B
TableGen
12 lines
162 B
TableGen
// 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);
|
|
}
|
|
|
|
def X : A<0>;
|
|
def Y : A;
|