summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash16.C
blob: dc8f7a608d221e33a2a261dac1f24f40c9f21024 (plain)
1
2
3
4
5
6
7
8
// PR c++/16971

namespace N {
  int i; // { dg-error "" }
  // By checking for an explicit keyword on the next line we avoid
  // matching an ICE message.
  int i; // { dg-error "redefinition" }
}