mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 14:06:36 +00: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
14 lines
231 B
TableGen
14 lines
231 B
TableGen
// RUN: tblgen < %s
|
|
// XFAIL: vg_leak
|
|
|
|
class foo<int X> { int THEVAL = X; }
|
|
def foo_imp : foo<1>;
|
|
|
|
def x {
|
|
foo Y = foo_imp; // This works.
|
|
}
|
|
|
|
def X {
|
|
foo Y = foo<1>; // This should work too, synthesizing a new foo<1>.
|
|
}
|