mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
ecdbbbefea
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215087 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
214 B
TableGen
14 lines
214 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);
|
|
bit c = !if(b, 0, 1);
|
|
bits<1> d = !if(b, 0, 1);
|
|
}
|
|
|
|
def X : A<0>;
|
|
def Y : A;
|