summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/Wunused-10.C
blob: d2d6a343dab9cbc885aac6e020b8707c13c41e6a (plain)
1
2
3
4
5
6
7
8
// PR c++/19190
// { dg-options "-Wunused" }

struct breakme 
{ 
  void setAction( unsigned char a ) { act = a; } 
  unsigned int act:8; 
};