| 1 |
// PR c/102989 |
| 2 |
// { dg-do compile } |
| 3 |
|
| 4 |
_BitInt(63) a; // { dg-error "expected" } |
| 5 |
unsigned _BitInt(31) b; // { dg-error "expected" } |
| 6 |
int c = 21wb; // { dg-error "invalid suffix 'wb' on integer constant" "" { target c++98_only } } |
| 7 |
// { dg-error "unable to find numeric literal operator 'operator\"\"wb'" "" { target c++11 } .-1 } |
| 8 |
long long d = 60594869054uwb; // { dg-error "invalid suffix 'uwb' on integer constant" "" { target c++98_only } } |
| 9 |
// { dg-error "unable to find numeric literal operator 'operator\"\"uwb'" "" { target c++11 } .-1 } |