blob: 40404e2995b796f8aaca923144117e014106a5f6 [file] [log] [blame]
/* APPLE LOCAL file test of inttypes.h formatter macros */
/* { dg-do compile } */
/* { dg-options "-Wall -W" } */
#include <stdio.h>
#include <inttypes.h>
#include <stdint.h>
int main ()
{
uint32_t x = 12;
int32_t y = 15;
printf("x = %" PRIo32 "\n", x);
printf("x = %" PRIu32 "\n", x);
printf("x = %" PRIx32 "\n", x);
printf("x = %" PRIX32 "\n", x);
printf("y = %" PRId32 "\n", y);
printf("y = %" PRIi32 "\n", y);
return 0;
}