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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [struct-parse-1.c] - Rev 154

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

/* Copyright (C) 2006 Free Software Foundation, Inc. */
/* Contributed by Carlos O'Donell on 2006-03-31 */
 
/* This code caused the C frontend to loop 
   forever exhausting all system memory, or ICE */
/* Origin: Carlos O'Donell <carlos@codesourcery.com> */
 
/* { dg-options "-std=c99" } */
struct s { int a; int b; struct t c; }; /* { dg-error "error: field 'c' has incomplete type" } */
struct s d = { .b = 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.