rs6000: Consider explicit VSX when masking off ALTIVEC [PR115688]
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / ambig1.C
blobe6123995ad6da15eb30dd27fb553464003fd79f6
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 "9:invalid application of .sizeof. to a function type" } sizeof applied to fn type
7 int j = sizeof (int () + 1);