mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 03:29:40 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24243 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
390 B
C
16 lines
390 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: sparc
|
|
|
|
#include <complex.h>
|
|
|
|
int foo(complex float c) {
|
|
return creal(c);
|
|
}
|