Debian Codegraph @

gcc/testsuite/g++.dg/lookup/error1.C

raw
1 // PR c++/17609
2 // Origin: <[email protected]>
3 // { dg-do compile }
4
5 namespace N { int i; } // { dg-message "N::i" }
6 void foo() { i; } // { dg-error "'i' was not declared in this scope; did you mean 'N::i'\\?" }
7
8 using namespace N;
9 void bar() { i; }