aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr79730.c
blob: 497823a486ce4e198f51e7b7c8e83b86a949a6ce (plain)
1
2
3
4
5
6
/* PR c/79730 */
/* { dg-do compile } */
/* { dg-options "-std=gnu11" } */

register int x() asm (""); /* { dg-error "invalid storage class" } */
register float y() asm (""); /* { dg-error "invalid storage class" } */