mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
12 lines
165 B
TableGen
12 lines
165 B
TableGen
|
// RUN: tblgen %s | FileCheck %s
|
||
|
// XFAIL: vg_leak
|
||
|
// CHECK: a = 6
|
||
|
// CHECK: a = 5
|
||
|
|
||
|
class A<bit b = 1> {
|
||
|
int a = !if(!eq(b, 1), 5, 6);
|
||
|
}
|
||
|
|
||
|
def X : A<0>;
|
||
|
def Y : A;
|