Add a test that you can forward ref a class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23547 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/TableGen/ForwardRef.td b/test/TableGen/ForwardRef.td
index 57de9d2..2056b1f 100644
--- a/test/TableGen/ForwardRef.td
+++ b/test/TableGen/ForwardRef.td
@@ -4,3 +4,12 @@
   list<bar> x;
 }
 
+class foo;
+class foo;
+
+class baz { list<foo> y; }
+
+class foo {
+
+}
+