| 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 |
} |