summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg1.C
blob: 6ded343535d72d97671e8ac717c6c35038472b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// Bug: g++ parses the declaration of i as a functional cast.

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

    i = 0;
    take_int (i);
}