summaryrefslogtreecommitdiff
path: root/test/Index
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-01-28 06:59:32 +0000
committerAlexey Samsonov <samsonov@google.com>2014-01-28 06:59:32 +0000
commit9b1028242735857d6f0dbeb693c252ea46a3fcfa (patch)
tree13bde84d83c4cae0c7cdb19dc67517e5046f2565 /test/Index
parent03d5952c3c4f18dc6ed899950ae5eb3ddbb8ac4b (diff)
downloadclang-9b1028242735857d6f0dbeb693c252ea46a3fcfa.tar.gz
clang-9b1028242735857d6f0dbeb693c252ea46a3fcfa.tar.bz2
clang-9b1028242735857d6f0dbeb693c252ea46a3fcfa.tar.xz
Fix this test and don't run it in ASan bootstrap
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index')
-rw-r--r--test/Index/annotate-deep-statements.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Index/annotate-deep-statements.cpp b/test/Index/annotate-deep-statements.cpp
index 79f2d39ae5..c0a55f25e4 100644
--- a/test/Index/annotate-deep-statements.cpp
+++ b/test/Index/annotate-deep-statements.cpp
@@ -4,13 +4,13 @@
// Check that we don't get stack overflow trying to annotate an extremely deep AST.
// AddressSanitizer increases stack usage.
-// XFAIL: asan
+// REQUIRES: not_asan
struct S {
S &operator()();
};
-// CHECK: Identifier: "foo" [11:6 - 11:9] FunctionDecl=foo:11:6 (Definition)
+// CHECK: Identifier: "foo" {{\[}}[[@LINE+1]]:6 - [[@LINE+1]]:9] FunctionDecl=foo:[[@LINE+1]]:6 (Definition)
void foo() {
S s;
s()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()