summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/bfins.c
blob: e626d82b3cb3fe48dfb76b04250da85369a474cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct foo
{
  unsigned j : 16;
  unsigned i : 16;
};

struct foo
foo (a, b)
     struct foo a;
     int b;
{
  a.j = 123;
  a.i = b;
  return a;
}