2 // { dg-options "-pedantic-errors" }
3 // Testcase for ambiguity between functional cast and abstract declarator.
4 // This ambiguity accounts for 6 of the r/r conflicts.
6 int i = sizeof (int ()); // { dg-error "9:invalid application of .sizeof. to a function type" } sizeof applied to fn type
7 int j = sizeof (int () + 1);