diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gdc.dg/attr_register2.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gdc.dg/attr_register2.d b/gcc/testsuite/gdc.dg/attr_register2.d index 9061a64..22c518f 100644 --- a/gcc/testsuite/gdc.dg/attr_register2.d +++ b/gcc/testsuite/gdc.dg/attr_register2.d @@ -6,6 +6,6 @@ import gcc.attributes; @register("ebx") extern int var2; // { dg-error "explicit register variable .var2. declared .extern." } -@register("r12") __gshared int var3 = 0x2a; // { dg-error "global register variable has initial value" } +@register("ebp") __gshared int var3 = 0x2a; // { dg-error "global register variable has initial value" } -@register("r12") __gshared int[256] var4 = void; // { dg-error "data type of .var4. isn.t suitable for a register" } +@register("ebp") __gshared int[256] var4 = void; // { dg-error "data type of .var4. isn.t suitable for a register" } |