diff options
| author | Richard Trieu <rtrieu@google.com> | 2014-03-06 02:28:22 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2014-03-06 02:28:22 +0000 |
| commit | 1a1e818b13b11109903140cfaebb64d2ce537237 (patch) | |
| tree | b0bc85d46d0d7dca2342c79176937bcef8fe7b5c | |
| parent | fe771c071aaa378b5813ae827f462e105c0b637c (diff) | |
| download | bcm5719-llvm-1a1e818b13b11109903140cfaebb64d2ce537237.tar.gz bcm5719-llvm-1a1e818b13b11109903140cfaebb64d2ce537237.zip | |
Fix test from r203061
llvm-svn: 203062
| -rw-r--r-- | clang/test/SemaCXX/warn-absolute-value2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaCXX/warn-absolute-value2.cpp b/clang/test/SemaCXX/warn-absolute-value2.cpp index 2affcb18f0b..5f7e8918787 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}} } |

