Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
used-before-declaration.C
blob: c1469ead01fde335934945305a934355b95b5ed2 [
file
] [
log
] [
blame
]
// Copyroght (C) 2003 Free Software Foundation
// Origin: PR/12832, Jonathan Wakely <redi@gcc.gnu.org>
void
f
()
{
g
();
}
// { dg-error "undeclared" "" }
void
g
()
{
}
// { dg-error "used" "" }