From fb63bc2026d6887c82a77d7144b8f94d751b5047 Mon Sep 17 00:00:00 2001 From: Richard Trieu <rtrieu@google.com> Date: Thu, 6 Mar 2014 02:28:22 +0000 Subject: [PATCH] Fix test from r203061 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203062 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/SemaCXX/warn-absolute-value2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/SemaCXX/warn-absolute-value2.cpp b/test/SemaCXX/warn-absolute-value2.cpp index 2affcb18f0b..5f7e8918787 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}} } -- GitLab