mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
231a6d09fc
llvm-svn: 169862
14 lines
250 B
TableGen
14 lines
250 B
TableGen
// RUN llvm-tblgen %s | FileCheck %s
|
|
|
|
// RUN: llvm-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"
|