1 // PR c++/17609 2 // Origin: <papadopo@shfj.cea.fr> 3 // { dg-do compile } 4 5 namespace N { int i; } // { dg-message "N::i" } foo()6void foo() { i; } // { dg-error "not declared" } 7 // { dg-message "suggested alternative" "suggested alternative" { target *-*-* } .-1 } 8 9 using namespace N; bar()10void bar() { i; } 11