mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-28 14:32:51 +01:00
6208a3090e
type support. llvm-svn: 20993
16 lines
392 B
C
16 lines
392 B
C
// RUN: %llvmgcc %s -o /dev/null -S
|
|
// Note:
|
|
// We fail this on SparcV9 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: sparcv9
|
|
|
|
#include <complex.h>
|
|
|
|
int foo(complex float c) {
|
|
return creal(c);
|
|
}
|