aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/ifbit.td
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen/ifbit.td')
-rw-r--r--test/TableGen/ifbit.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/TableGen/ifbit.td b/test/TableGen/ifbit.td
index 88f575e..18797ca 100644
--- a/test/TableGen/ifbit.td
+++ b/test/TableGen/ifbit.td
@@ -5,6 +5,8 @@
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>;