summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/bitfield4.C
blob: d140f82cb63a65b7eba0d5b90e1614efa18b3329 (plain)
1
2
3
4
5
6
7
8
9
10
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin PR c++/42217
// { dg-do compile }

struct A
{
 int : 0;
};
A a = A();