mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
231a6d09fc
llvm-svn: 169862
11 lines
152 B
TableGen
11 lines
152 B
TableGen
// RUN: llvm-tblgen %s | FileCheck %s
|
|
// 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;
|