Debian Codegraph @

gcc/testsuite/g++.dg/lookup/used-before-declaration.C

raw
1 // Copyroght (C) 2003 Free Software Foundation
2 // Origin: PR/12832, Jonathan Wakely <[email protected]>
3
4 void f() { g(); } // { dg-error "12:'g' was not declared" }
5 void g() { }