diff options
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 0000000000..773ed6e4d1 --- /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; +} |