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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [parse-error-3.c] - Blame information for rev 708

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR c/43384 */
2
/* { dg-do compile } */
3
 
4
void c_direct(par)
5
     void *par = &&lab; /* { dg-error "is initialized|non-standard|outside of" } */
6
{}
7
 
8
void foo(p, q)
9
     int *p = &q; /* { dg-error "initialized|undeclared" } */
10
{}
11
 
12
void bar(i)
13
     int j = i; /* { dg-error "initialized|undeclared|no such parameter" } */
14
{}

powered by: WebSVN 2.1.0

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