summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/redecl1.C
blob: 436316ca07011427a9f4b286b6c25e3bec13b7fa (plain)
1
2
3
4
5
6
7
// PR c++/14668

class A {}; // { dg-error "" }
class B { 
  static A *A; // { dg-error "" }
}; 
A *B::A = 0;