mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 16:39:37 +08:00
6599da043e
From-SVN: r14877
9 lines
312 B
Plaintext
9 lines
312 B
Plaintext
t1: count=5
|
|
sscanf ("12345", "%ld", &x) => 1, x = 12345
|
|
sscanf ("12345", "%llllld", &x) => 0, x = -1
|
|
sscanf ("12345", "%LLLLLd", &x) => 0, x = -1
|
|
sscanf ("test ", "%*s%n", &x) => 0, x = 4
|
|
sscanf ("test ", "%2*s%n", &x) => 0, x = -1
|
|
sscanf ("12 ", "%l2d", &x) => 0, x = -1
|
|
sscanf ("12 ", "%2ld", &x) => 1, x = 12
|