1 /* PR rtl-optimization/63637 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 
5 int
foo(void)6 foo (void)
7 {
8   int a, b, c, d, e, f;
9   asm ("# Magic instruction" : "=r" (a), "=r" (d));
10   asm ("# Magic instruction" : "=r" (b), "=r" (e));
11   asm ("# Magic instruction" : "=r" (c), "=r" (f));
12   return a + b + c;
13 }
14 
15 /* { dg-final { scan-assembler-times "# Magic instruction" 3 } } */
16