summaryrefslogtreecommitdiff
path: root/tests/test_vprintf.c
blob: e2e963e0f271e8f162fb3df4d803e844f1bb8c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "common.h"

#include <stdarg.h>
#include <stdio.h>

void wrap(char *format, ...) {
  va_list args;
  va_start(args, format);
  vprintf(format, args);
  va_end(args);
}


int main(int argc, char** argv) {
  wrap("%s", "1234567");
}