mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-08 20:18:57 +00:00
32989deb96
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99103 91177308-0d34-0410-b5e6-96231b3b80d8
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>.
|
|
}
|