Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/format/pr78304-2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -Wall -Wextra" } */ extern int printf (const char *, ...); # define PRIu32 "u" void test (const char *msg) { printf ("size: %" PRIu32 "\n", msg); /* { dg-warning "expects argument of type" } */ }