summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/warning1.C
blob: 6fa07ef0c9563c76067feac1b7ee7479324d3c5e (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// Bug: g++ protests that foo was never defined.

static void foo ();
static void foo ();
static void foo () { }
void bar () { foo(); }		// { dg-bogus "" }