summaryrefslogtreecommitdiff
path: root/tests/core/test_sscanf_hex.in
blob: d8175e827bec9fe163da00725b458a8fbc69c9cc (plain)
1
2
3
4
5
6
7
#include "stdio.h"

int main() {
  unsigned int a, b;
  sscanf("0x12AB 12AB", "%x %x", &a, &b);
  printf("%d %d\n", a, b);
}