comparison gcc/testsuite/c-c++-common/Wunused-var-11.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 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 }