glibc/benchtests/sprintf-inputs
Carlos O'Donell 608f897106 Add sprintf benchmark.
Tests position and non-positional arguments with two
test string.
2015-05-21 10:02:52 -04:00

11 lines
400 B
Plaintext

## args: char *:const char *:int:char:char:char:char:char:const char *:float:unsigned int
## ret: int
## includes: stdio.h
## include-sources: sprintf-source.c
## name: positional
# Test positional arguments:
buf, FORMAT1, 1001, '1', '2', '3', '4', '5', "string", 1.5, 0x1234
## name: non-positional
# Test non-positional arguments:
buf, FORMAT2, 1001, '1', '2', '3', '4', '5', "string", 1.5, 0x1234