aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/sso/init9.h
blob: 358d3869ddc96f65c88b8184ef989cb4418cb46e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#define Pi 3.14159265358979323846

struct __attribute__((scalar_storage_order("little-endian"))) R1
{
  double F;
};

struct __attribute__((scalar_storage_order("big-endian"))) R2
{
  double F;
};

struct R1 My_R1 = { Pi };
struct R2 My_R2 = { Pi };