2013-08-23 04:46:05 +08:00
|
|
|
// RUN: llvm-tblgen %s | FileCheck %s
|
2013-11-10 22:26:08 +08:00
|
|
|
// XFAIL: vg_leak
|
2011-10-01 04:59:51 +08:00
|
|
|
|
|
|
|
class Base<string t> {
|
|
|
|
string text = t;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Derived<list<list<string>> thetext> : Base<thetext[0][0]>;
|
|
|
|
|
|
|
|
def FOO : Derived<[["foo"]]>;
|
|
|
|
|
|
|
|
// CHECK: text = "foo"
|
2013-08-23 04:46:05 +08:00
|
|
|
// CHECK-NOT: text = "foo"
|