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