f32dbaf0b2
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
14 lines
249 B
TableGen
14 lines
249 B
TableGen
// RUN: llvm-tblgen %s | FileCheck %s
|
|
// 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"
|
|
// CHECK-NOT: text = "foo"
|