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

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

typedef struct { float r, i; } _complex;

struct stc
{
  int s1;
  _complex x;
  int s2;
};