From a6a427cb614c02a067e4c45d6d299fa824710429 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 8 Jul 2008 10:11:36 +0000 Subject: [PATCH] Testcase for PR2520. llvm-svn: 53230 --- test/FrontendC/2008-07-08-FAbsAttributes.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/FrontendC/2008-07-08-FAbsAttributes.c diff --git a/test/FrontendC/2008-07-08-FAbsAttributes.c b/test/FrontendC/2008-07-08-FAbsAttributes.c new file mode 100644 index 00000000000..1eb01dcedbe --- /dev/null +++ b/test/FrontendC/2008-07-08-FAbsAttributes.c @@ -0,0 +1,4 @@ +// RUN: %llvmgcc -S %s -o - | grep readnone +// PR2520 +#include +double f(double *x, double *y) { return fabs(*x + *y); }