mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
54da09356b
In historical reason, tblgen is not strictly required to be free from memory leaks. For now, I mark them as XFAIL, they could be fixed, though. llvm-svn: 194353
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"
|