Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/unused-6-WallWextra.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* PR 28875 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O3 -Wextra -Wall" } */ | |
4 static int t(int i) /* { dg-warning "unused parameter" "unused parameter warning" } */ | |
5 { | |
6 return 0; | |
7 } | |
8 int tt() | |
9 { | |
10 return t(0); | |
11 } |