No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.target / mips / ext_ins.c
blob77df1d2ba8718e1b4f16d3c4fae9b8421dd6ae6a
1 /* { dg-do compile } */
2 /* { dg-mips-options "-march=mips32r2" } */
3 /* { dg-final { scan-assembler "ext" } } */
4 /* { dg-final { scan-assembler "ins" } } */
6 struct A
8 unsigned int i : 2;
9 unsigned int j : 3;
10 unsigned int k : 4;
11 unsigned int l : 5;
14 void func (struct A);
16 unsigned int f1 (struct A a)
18 return a.j;
21 void f2 (int i)
23 struct A c;
24 c.j = i;
25 func (c);