summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/ns7.C
blob: 67d9e7741f18020b0ca91f0cba74205f5765e296 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }

namespace A {
  int i = 1;			// { dg-message "A::i" }
}

namespace B {
  int j = i;	// { dg-error "" } 
  // { dg-message "suggested alternative" "suggested alternative" { target *-*-* } 8 }
}