summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tc1/dr48.C
blob: 19c1738782235fcece512210253e6a01c8a72722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do link }
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
// DR48: Definitions of unused static members 

struct A {
  static const int size = 10;
  int array[size];
};

int main() {
  A a;
  return 0;
}