summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/complex-4.c
blob: 6becd3b9474ef97e0707010b980d862cde94a8e6 (plain)
1
2
3
4
5
6
7
/* PR c/22393 */
/* { dg-options "-O -std=gnu99" } */

__complex__ double foo (__complex__ double x)
{
    return 1.0 / x * -1.0i;
}