aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/IntBitInit.td
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen/IntBitInit.td')
-rw-r--r--test/TableGen/IntBitInit.td5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/TableGen/IntBitInit.td b/test/TableGen/IntBitInit.td
new file mode 100644
index 0000000..b949bfe
--- /dev/null
+++ b/test/TableGen/IntBitInit.td
@@ -0,0 +1,5 @@
+// RUN: tblgen %s
+def {
+ bit A = 1;
+ int B = A;
+}