mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
4927fd0032
of runs without leak checking. We add -vg to the triple for non-checked runs, or -vg_leak for checked runs. Also use this to XFAIL the TableGen tests, since tablegen leaks like a sieve. This includes some valgrindArgs refactoring. llvm-svn: 99103
22 lines
348 B
TableGen
22 lines
348 B
TableGen
// RUN: tblgen < %s
|
|
// XFAIL: vg_leak
|
|
// Test for template arguments that have the same name as superclass template
|
|
// arguments.
|
|
|
|
|
|
class Arg { int a; }
|
|
def TheArg : Arg { let a = 1; }
|
|
|
|
|
|
class Super<Arg F> {
|
|
int X = F.a;
|
|
}
|
|
class Sub<Arg F> : Super<F>;
|
|
def inst : Sub<TheArg>;
|
|
|
|
|
|
class Super2<int F> {
|
|
int X = F;
|
|
}
|
|
class Sub2<int F> : Super2<F>;
|