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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [noncompile/] [incomplete-5.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* ICE on unnamed field with incomplete enum type: PR 40032.  */
2
/* { dg-do compile } */
3
/* { dg-options "" } */
4
struct A
5
{
6
  enum E : 8; /* { dg-warning "narrower than values of its type" } */
7
  /* { dg-error "has incomplete type" "incomplete" { target *-*-* } 6 } */
8
};

powered by: WebSVN 2.1.0

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