1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c
Chris Lattner 8559c20194 Fails with all sparcs
llvm-svn: 27887
2006-04-20 17:43:41 +00:00

16 lines
388 B
C

// RUN: %llvmgcc %s -o /dev/null -S
// Note:
// We fail this on Sparc because the C library seems to be missing complex.h
// and the corresponding C99 complex support.
//
// We could modify the test to use only GCC extensions, but I don't know if
// that would change the nature of the test.
//
// XFAIL: sparc
#include <complex.h>
int foo(complex float c) {
return creal(c);
}