Fix test from r203061

llvm-svn: 203062
This commit is contained in:
Richard Trieu 2014-03-06 02:28:22 +00:00
parent fe771c071a
commit 1a1e818b13
1 changed files with 3 additions and 3 deletions

View File

@ -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}}
}