• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-tblgen %s | FileCheck %s
2// XFAIL: vg_leak
3// CHECK: a = 6
4// CHECK: a = 5
5
6class A<bit b = 1> {
7  int a = !if(b, 5, 6);
8  bit c = !if(b, 0, 1);
9  bits<1> d = !if(b, 0, 1);
10}
11
12def X : A<0>;
13def Y : A;
14