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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [noncompile/] [incomplete-2.c] - Rev 708

Go to most recent revision | Compare with Previous | Blame | View Log

/* Origin: <steven@gcc.gnu.org>
   Make sure we do not ICE when the type in the function
   argument list is incomplete (Bug 10602).  */
/* { dg-options "-w" } */
 
int g95_type_for_mode (enum machine_mode);
 
int
g95_type_for_mode (enum machine_mode mode) /* { dg-error "incomplete type" } */
{
  return 0;
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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