summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/struct-complex-2.h
blob: 1fd1e86c2ba443d0e53fb7948afe912e11028224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <complex.h>

struct st
{
  int s1;
  float complex x;
};

typedef struct { float r, i; } _complex;

struct stc
{
  int s1;
  _complex x;
};