diff options
author | Duncan Sands <baldrick@free.fr> | 2008-07-08 10:11:36 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-07-08 10:11:36 +0000 |
commit | 4a497a2757487bd127b21c179f68173f976eb153 (patch) | |
tree | 82475c82390a08ab1063ee4e2d9b3b8d467bee36 | |
parent | cfa3c236b23aff80e48df11ef5833b7e63fab802 (diff) |
Testcase for PR2520.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53230 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FrontendC/2008-07-08-FAbsAttributes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/FrontendC/2008-07-08-FAbsAttributes.c b/test/FrontendC/2008-07-08-FAbsAttributes.c new file mode 100644 index 0000000000..1eb01dcedb --- /dev/null +++ b/test/FrontendC/2008-07-08-FAbsAttributes.c @@ -0,0 +1,4 @@ +// RUN: %llvmgcc -S %s -o - | grep readnone +// PR2520 +#include <math.h> +double f(double *x, double *y) { return fabs(*x + *y); } |