1// { dg-do assemble  }
2// { dg-options "-Wno-pointer-arith" }
3// Testcase for ambiguity between cast and parmlist.
4// This ambiguity accounts for 1 of the r/r conflicts.
5// Do not compile with -pedantic so that the compiler will accept taking
6// the sizeof a function type.
7
8void f(){
9  (void)sizeof(int((int)1.2));
10  (void)sizeof(int((int)));		// { dg-bogus "" }
11}
12