1 /* { dg-do compile } */ 2 /* { dg-options "-ffat-lto-objects" } */ 3 4 int f(void)5 f (void) 6 { 7 register unsigned int r asm ("no-such-register"); /* { dg-error "invalid register name" } */ 8 return r; 9 } 10