diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-31 19:02:11 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-31 19:02:11 +0000 |
commit | 8c4dc1ffd20a8fe90a90c7f471cd9842b981078e (patch) | |
tree | 7b3aa15d348059697f93d37b0158a9b7d8fa4aaf /test/Index/cxx-operator-overload.cpp | |
parent | 211c278e536b9f5bf468a99dc24449ad734466fe (diff) |
For a CXXOperatorCallExpr, fix the order that StmtLocResolver uses to check subexpressions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77713 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/cxx-operator-overload.cpp')
-rw-r--r-- | test/Index/cxx-operator-overload.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Index/cxx-operator-overload.cpp b/test/Index/cxx-operator-overload.cpp index 8f12f1661f..6a913d670c 100644 --- a/test/Index/cxx-operator-overload.cpp +++ b/test/Index/cxx-operator-overload.cpp @@ -23,4 +23,6 @@ Cls Cls::operator +(const Cls &RHS) { while (1) {} } // RUN: index-test %t.ast -point-at %s:5:15 -print-refs > %t && // RUN: cat %t | count 2 && // RUN: grep ':10:17,' %t && -// RUN: grep ':10:22,' %t +// RUN: grep ':10:22,' %t && + +// RUN: index-test %t.ast -point-at %s:10:14 | grep 'DeclRefExpr x1' |