Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / ambig1.C
blob9be10eb3ad6e48048fc8d6b7ac9df4d578f7860d
1 // { dg-do assemble  }
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 "" } sizeof applied to fn type
7 int j = sizeof (int () + 1);