mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 04:01:10 +00:00
608f897106
Tests position and non-positional arguments with two test string.
11 lines
400 B
Plaintext
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
|