summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/unused-6-no.c
blob: 0923cfb8132df28f81121b51d05f6246f0749084 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR 28875 */
/* { dg-do compile } */
/* { dg-options "-O3 -Wextra -Wno-unused-parameter -Wall" } */
static int t(int i) /* { dg-bogus "unused parameter" "unused parameter warning" } */
{
  return 0;
}
int tt()
{
  return t(0);
}