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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [Wunused-var-11.c] - Blame information for rev 686

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 686 jeremybenn
/* PR c++/44443 */
2
/* { dg-options "-Wunused" } */
3
/* { dg-do compile } */
4
 
5
int i;
6
 
7
void
8
f1 ()
9
{
10
  const int * __attribute__((unused)) a = &i;
11
  const int *b __attribute__((unused)) = &i;
12
}

powered by: WebSVN 2.1.0

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