aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg1.C
blob: a9b581f27515465ded2268a678e201be66cb027c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Bug: g++ parses the declaration of i as a functional cast.
// Build don't link:

void take_int (int arg) { }
 
void
test ()
{
    int (i);

    i = 0;
    take_int (i);
}