summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/unused-6.c
blob: 7651ecb28c9a7e67e76ab95cd121422960ebceb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O3 -Wunused-parameter" } */
static int t(int i) /* { dg-warning "unused parameter" "unused parameter warning" } */
{
  return 0;
}
int tt()
{
  return t(0);
}