summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-30 04:10:17 +0000
committerChris Lattner <sabre@nondot.org>2005-09-30 04:10:17 +0000
commit57a7db6cdb4cdc6346415df742e4ce1eaf27d36a (patch)
treef5244bf16b1c2ea5a2ed4249d5d89c2dd4f9b3ec /test
parent0d0b73e9f83c45c7cba28d57564567025c7ee014 (diff)
downloadllvm-57a7db6cdb4cdc6346415df742e4ce1eaf27d36a.tar.gz
llvm-57a7db6cdb4cdc6346415df742e4ce1eaf27d36a.tar.bz2
llvm-57a7db6cdb4cdc6346415df742e4ce1eaf27d36a.tar.xz
Check that we can refer to the same class we are defining.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23541 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/TableGen/ForwardRef.td6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/TableGen/ForwardRef.td b/test/TableGen/ForwardRef.td
new file mode 100644
index 0000000000..57de9d25c8
--- /dev/null
+++ b/test/TableGen/ForwardRef.td
@@ -0,0 +1,6 @@
+// RUN: tblgen %s -o -
+
+class bar {
+ list<bar> x;
+}
+