summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash43.C
blob: ff073cf46adf6e39f457cfd15bd3f87548450990 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/34600

namespace N
{
  void foo()
  {
    extern int i = 0; // { dg-error "'i' has both 'extern' and initializer" }
  }
}