diff options
-rw-r--r-- | test/Index/cxx-operator-overload.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Index/cxx-operator-overload.cpp b/test/Index/cxx-operator-overload.cpp index ffea76662d..8f12f1661f 100644 --- a/test/Index/cxx-operator-overload.cpp +++ b/test/Index/cxx-operator-overload.cpp @@ -10,8 +10,7 @@ static void bar() { Cls x4 = x1 + x2 + x3; } -Cls Cls::operator +(const Cls &RHS) { -} +Cls Cls::operator +(const Cls &RHS) { while (1) {} } // RUN: clang-cc -emit-pch %s -o %t.ast && |