void abort(void);
void exit(int);

int main(void) {
    if ((__complex__ double)0.0 != (__complex__ double)(-0.0))
        abort();

    if (0.0 != -0.0)
        abort();
    exit(0);
}
/* { dg-require-effective-target nested } */
