comparison gcc/testsuite/gcc.dg/format/pr78304.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 /* { dg-do compile { target inttypes_types } } */
2 /* { dg-options "-O2 -Wall -Wextra" } */
3
4 #include <inttypes.h>
5 #include <stdio.h>
6
7 void test (const char *msg)
8 {
9 printf ("size: %" PRIu32 "\n", msg); /* { dg-warning "expects argument of type" } */
10 }