diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-03 18:28:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-03 18:28:09 +0000 |
commit | a6aff650e8af0275a615be41be3813a008edabf6 (patch) | |
tree | 1fe52d3eaeb7dc3e64cf7bcdc179c3f3d2830a63 /test/TableGen/ListConversion.td | |
parent | d19c2cf5d2ae5b263df3f4c7c9744cdf3946f89b (diff) | |
download | external_llvm-a6aff650e8af0275a615be41be3813a008edabf6.zip external_llvm-a6aff650e8af0275a615be41be3813a008edabf6.tar.gz external_llvm-a6aff650e8af0275a615be41be3813a008edabf6.tar.bz2 |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7525 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen/ListConversion.td')
-rw-r--r-- | test/TableGen/ListConversion.td | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/TableGen/ListConversion.td b/test/TableGen/ListConversion.td new file mode 100644 index 0000000..773ed6e --- /dev/null +++ b/test/TableGen/ListConversion.td @@ -0,0 +1,10 @@ +// RUN: tblgen %s +class A; +class B : A; + +def b : B; + +def { + list<B> X = [b]; + list<A> Y = X; +} |