mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
5d53ff54c0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141533 91177308-0d34-0410-b5e6-96231b3b80d8
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"
|