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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vla-21.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Type names for VLAs should be allowed outside functions if the size
2
   is not evaluated.  PR 39581.  */
3
/* { dg-do compile } */
4
/* { dg-options "-std=c99 -pedantic-errors" } */
5
 
6
int a;
7
int b = sizeof (int (*)[a]);

powered by: WebSVN 2.1.0

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