summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/decl1.C
blob: 07bcc914521af4e6239d8e0fe63f654f365de4e9 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// Based on a test case by Phil Blecker <tmwg@inxservices.com>


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