blob: 3b5437c184a735487260750a0f978260e7938344 [file] [log] [blame]
// RUN: clang -emit-llvm %s
int main(void)
{
double _Complex a = 5;
double _Complex b = 42;
return a * b != b * a;
}
_Complex double bar(int);
void test(_Complex double*);
void takecomplex(_Complex double);
void test2(int c) {
_Complex double X;
X = bar(1);
test(&X);
takecomplex(X);
}
_Complex double g1, g2;
void test3() {
g1 = g1 + g2;
g1 = g1 - g2;
g1 = g1 * g2;
g1 = +-~g1;
}