diff options
author | Filipe Cabecinhas <me@filcab.net> | 2017-02-23 17:23:28 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2017-02-23 17:23:28 +0000 |
commit | 75f58d12d7bfe28af0b8249ef3d81893d6e70649 (patch) | |
tree | ca583506ff732a77e683d0abd317f569e7305613 /test/ubsan | |
parent | 38d99a1ff815fac388a11077d64e173ae8acfd07 (diff) |
[test] Use @LINE macro
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@295995 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan')
-rw-r--r-- | test/ubsan/TestCases/Misc/vla.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ubsan/TestCases/Misc/vla.c b/test/ubsan/TestCases/Misc/vla.c index 10721537b..1939551f2 100644 --- a/test/ubsan/TestCases/Misc/vla.c +++ b/test/ubsan/TestCases/Misc/vla.c @@ -4,8 +4,8 @@ // RUN: %run %t a b int main(int argc, char **argv) { - // CHECK-MINUS-ONE: vla.c:9:11: runtime error: variable length array bound evaluates to non-positive value -1 - // CHECK-ZERO: vla.c:9:11: runtime error: variable length array bound evaluates to non-positive value 0 + // CHECK-MINUS-ONE: vla.c:[[@LINE+2]]:11: runtime error: variable length array bound evaluates to non-positive value -1 + // CHECK-ZERO: vla.c:[[@LINE+1]]:11: runtime error: variable length array bound evaluates to non-positive value 0 int arr[argc - 2]; return 0; } |