From: Mike Stump Date: Tue, 21 Jul 2009 21:06:08 +0000 (+0000) Subject: Prep for new warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d46aa50622a298f66fba30f3f1b7682ff2ece013;p=clang Prep for new warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76643 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 &&