summaryrefslogtreecommitdiff
path: root/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
blob: 63bb251c3f05d13b561dac932f2ff648e51e02d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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);
}