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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [unused-1.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
/* 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.