summaryrefslogtreecommitdiff
path: root/stdio-common/bug15.c
blob: 825ca2f9801f181936d0582350b891ca64fc2489 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <locale.h>

int
main (void)
{
  char buf[10];
  setlocale (LC_ALL, "vi_VN.TCVN-5712");
  return sprintf (buf, "%.*s", 2, "vi") != 2;
}