Mercurial > hg > CbC > CbC_llvm
view llvm/test/TableGen/ifbit.td @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
line wrap: on
line source
// 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;