OSDN Git Service

PR c++/4222, c++/5995
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / decl1.C
1 // Build don't link:
2 // Based on a test case by Phil Blecker <tmwg@inxservices.com>
3
4 // excess errors test - XFAIL *-*-*
5
6 int foo(int);
7 int bar() {
8   int baz(int(foo(0)));
9   int foo = baz;
10 }