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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [unused-1.c] - Blame information for rev 328

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

Line No. Rev Author Line
1 298 jeremybenn
/* Missing `unused parameter' warning.
2
   egcs-1.1.2 fails, egcs-ss-19990418 passes.
3
   http://gcc.gnu.org/ml/gcc-bugs/1998-09/msg00199.html */
4
/* { dg-do compile } */
5
/* { dg-options "-O -Wall -W" } */
6
int
7
f(c)
8
     char c; /* { dg-warning "unused parameter" "unused parameter warning" } */
9
{
10
  return 0;
11
}

powered by: WebSVN 2.1.0

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