aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/decl1.C
blob: 7a55ce0cdeb19309965cb943ead022399ba07989 (plain)
1
2
3
4
5
6
7
8
9
10
// Build don't link:
// Based on a test case by Phil Blecker <tmwg@inxservices.com>

// excess errors test - XFAIL *-*-*

int foo(int);
int bar() {
  int baz(int(foo(0)));
  int foo = baz;
}