mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
abcce0b8be
llvm-svn: 141533
15 lines
268 B
TableGen
15 lines
268 B
TableGen
// RUN llvm-tblgen %s | FileCheck %s
|
|
|
|
// RUN: llvm-tblgen %s | grep {foo} | count 1
|
|
// XFAIL: vg_leak
|
|
|
|
class Base<string t> {
|
|
string text = t;
|
|
}
|
|
|
|
class Derived<list<list<string>> thetext> : Base<thetext[0][0]>;
|
|
|
|
def FOO : Derived<[["foo"]]>;
|
|
|
|
// CHECK: text = "foo"
|