1 /* PR c/79730 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu11" } */
4 
5 register int x() asm (""); /* { dg-error "invalid storage class" } */
6 register float y() asm (""); /* { dg-error "invalid storage class" } */
7