summaryrefslogtreecommitdiffstats
path: root/test/TableGen/ForwardRef.td
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen/ForwardRef.td')
-rw-r--r--test/TableGen/ForwardRef.td15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/TableGen/ForwardRef.td b/test/TableGen/ForwardRef.td
new file mode 100644
index 0000000..2056b1f
--- /dev/null
+++ b/test/TableGen/ForwardRef.td
@@ -0,0 +1,15 @@
+// RUN: tblgen %s -o -
+
+class bar {
+ list<bar> x;
+}
+
+class foo;
+class foo;
+
+class baz { list<foo> y; }
+
+class foo {
+
+}
+