summaryrefslogtreecommitdiff
path: root/test/TableGen/2003-08-03-PassCode.td
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen/2003-08-03-PassCode.td')
-rw-r--r--test/TableGen/2003-08-03-PassCode.td8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/TableGen/2003-08-03-PassCode.td b/test/TableGen/2003-08-03-PassCode.td
new file mode 100644
index 00000000000..de7d6261b23
--- /dev/null
+++ b/test/TableGen/2003-08-03-PassCode.td
@@ -0,0 +1,8 @@
+// RUN: llvm-tblgen %s
+// XFAIL: vg_leak
+
+class test<code C> {
+ code Code = C;
+}
+
+def foo : test<[{ hello world! }]>;