OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [ambig1.C] - Diff between revs 154 and 816

Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// { dg-do assemble  }
// { dg-do assemble  }
// { dg-options "-pedantic-errors" }
// { dg-options "-pedantic-errors" }
// Testcase for ambiguity between functional cast and abstract declarator.
// Testcase for ambiguity between functional cast and abstract declarator.
// This ambiguity accounts for 6 of the r/r conflicts.
// This ambiguity accounts for 6 of the r/r conflicts.
int i = sizeof (int ());        // { dg-error "" } sizeof applied to fn type
int i = sizeof (int ());        // { dg-error "" } sizeof applied to fn type
int j = sizeof (int () + 1);
int j = sizeof (int () + 1);
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.