| 1 |
/* { dg-options "-c -fdump-go-spec=godump-2.out" } */ |
| 2 |
/* { dg-do compile { target bitint } } */ |
| 3 |
/* { dg-skip-if "not supported for target" { ! "alpha*-*-* s390*-*-* i?86-*-* x86_64-*-*" } } */ |
| 4 |
/* { dg-skip-if "not supported for target" { ! lp64 } } */ |
| 5 |
|
| 6 |
_BitInt(32) b32_v; |
| 7 |
/* { dg-final { scan-file godump-2.out "(?n)^var _b32_v int32$" } } */ |
| 8 |
|
| 9 |
_BitInt(64) b64_v; |
| 10 |
/* { dg-final { scan-file godump-2.out "(?n)^var _b64_v int64$" } } */ |
| 11 |
|
| 12 |
unsigned _BitInt(32) b32u_v; |
| 13 |
/* { dg-final { scan-file godump-2.out "(?n)^var _b32u_v uint32$" } } */ |
| 14 |
|
| 15 |
_BitInt(33) b33_v; |
| 16 |
/* { dg-final { scan-file godump-2.out "(?n)^// var _b33_v INVALID-bitint-33$" } } */ |
| 17 |
|
| 18 |
/* { dg-final { remove-build-file "godump-2.out" } } */ |