| Peter Collingbourne | 7f7f2e9 | 2011-10-06 13:39:59 +0000 | [diff] [blame] | 1 | // RUN: llvm-tblgen %s | FileCheck %s |
| Bruno Cardoso Lopes | 4d1d798 | 2010-06-17 00:31:36 +0000 | [diff] [blame] | 2 | // CHECK: a = 6 |
| 3 | // CHECK: a = 5 | ||||
| 4 | |||||
| 5 | class A<bit b = 1> { | ||||
| 6 | int a = !if(b, 5, 6); | ||||
| 7 | } | ||||
| 8 | |||||
| 9 | def X : A<0>; | ||||
| 10 | def Y : A; | ||||