forked from OSchip/llvm-project
14 lines
240 B
TableGen
14 lines
240 B
TableGen
|
// RUN tblgen %s | FileCheck %s
|
||
|
|
||
|
// RUN: tblgen %s | grep {foo} | count 1
|
||
|
|
||
|
class Base<string t> {
|
||
|
string text = t;
|
||
|
}
|
||
|
|
||
|
class Derived<list<list<string>> thetext> : Base<thetext[0][0]>;
|
||
|
|
||
|
def FOO : Derived<[["foo"]]>;
|
||
|
|
||
|
// CHECK: text = "foo"
|