blob: 4bd6f1203b5cfaf7f0f4d0fd7e43ee58036b5b52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// PR c++/30277
// { dg-do compile { target c++11 } }
struct S
{
signed long long l: 32;
};
void foo(long long) = delete;
void foo(int) {}
int main()
{
S x = {1};
foo(x.l+0);
return 0;
}
|