1 // { dg-do compile { target x86_64-*-* } }
5 @register("ebx") static int var1
= void; // { dg-error "explicit register variable .var1. declared thread local" }
7 @register("ebx") extern int var2
; // { dg-error "explicit register variable .var2. declared .extern." }
9 @register("ebp") __gshared
int var3
= 0x2a; // { dg-error "global register variable has initial value" }
11 @register("ebp") __gshared
int[256] var4
= void; // { dg-error "data type of .var4. isn.t suitable for a register" }