summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/error1.C
blob: bdd983f9665756920061dc4945a994a20c173de7 (plain)
1
2
3
4
5
6
7
// PR c++/12696

struct A {
  static float b[10];
} // { dg-error "after struct definition" }

float A::b[] = {1,2,3};