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
20 lines
286 B
TableGen
20 lines
286 B
TableGen
// RUN: tblgen %s
|
|
// XFAIL: vg_leak
|
|
|
|
def A {
|
|
list<int> B = [10, 20, 30, 4, 1, 1231, 20];
|
|
}
|
|
|
|
def B {
|
|
list<int> X = [10, 20, 30, 4, 1, 1231, 20] [2-4,2,2,0-6];
|
|
|
|
list<int> Y = X[4,5];
|
|
int Z = X[4];
|
|
|
|
list<int> C = A.B[1-4];
|
|
|
|
list<list<int>> AA = [X, Y];
|
|
|
|
int BB = AA[0][1];
|
|
}
|