From: Richard Trieu Date: Thu, 6 Mar 2014 02:28:22 +0000 (+0000) Subject: Fix test from r203061 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb63bc2026d6887c82a77d7144b8f94d751b5047;p=clang Fix test from r203061 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203062 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/warn-absolute-value2.cpp b/test/SemaCXX/warn-absolute-value2.cpp index 2affcb18f0..5f7e891878 100644 --- a/test/SemaCXX/warn-absolute-value2.cpp +++ b/test/SemaCXX/warn-absolute-value2.cpp @@ -2,12 +2,12 @@ extern "C" { int abs(int); -long labs(long); +double fabs(double); } -using ::labs; +using ::fabs; -long test(long x) { +double test(double x) { return ::abs(x); // expected-warning@-1{{using integer absolute value function 'abs' when argument is of floating point type}} }