aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/sso/init1.h
blob: a4232908af139951f90f1166b5b1b01bcef1b29f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
struct __attribute__((scalar_storage_order("little-endian"))) R1
{
  int I;
};

struct __attribute__((scalar_storage_order("big-endian"))) R2
{
  int I;
};

struct R1 My_R1 = { 0x12345678 };
struct R2 My_R2 = { 0x12345678 };