From 1a1e818b13b11109903140cfaebb64d2ce537237 Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Thu, 6 Mar 2014 02:28:22 +0000 Subject: [PATCH] Fix test from r203061 llvm-svn: 203062 --- clang/test/SemaCXX/warn-absolute-value2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/test/SemaCXX/warn-absolute-value2.cpp b/clang/test/SemaCXX/warn-absolute-value2.cpp index 2affcb18f0b7..5f7e8918787f 100644 --- a/clang/test/SemaCXX/warn-absolute-value2.cpp +++ b/clang/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}} }