summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20041201-1.c
blob: ec588b23de0ab1797ed33b282378ee311beab695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR rtl-opt/15289 */

typedef struct { _Complex char a; _Complex char b; } Scc2;

Scc2 s = { 1+2i, 3+4i };

int checkScc2 (Scc2 s)
{
  return s.a != 1+2i || s.b != 3+4i;
}

int main (void)
{
  return checkScc2 (s);
}