scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit fad3fe30d4c05fd3307e3b216897635abbad173a
parent 66bf1ba94a7097b9c13760c68c1e535bbd9cae5a
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Thu, 30 Apr 2026 22:37:23 +0200

tests/libc: Add placeholders for float conversions

Diffstat:
Mtests/libc/execute/.gitignore | 3+++
Atests/libc/execute/0083-strtod.c | 17+++++++++++++++++
Atests/libc/execute/0084-strtof.c | 17+++++++++++++++++
Atests/libc/execute/0085-strtold.c | 17+++++++++++++++++
Mtests/libc/execute/libc-tests.lst | 3+++
5 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/tests/libc/execute/.gitignore b/tests/libc/execute/.gitignore @@ -81,3 +81,6 @@ test.log 0080-atoi 0081-atol 0082-atoll +0083-strtod +0084-strtof +0085-strtold diff --git a/tests/libc/execute/0083-strtod.c b/tests/libc/execute/0083-strtod.c @@ -0,0 +1,17 @@ +/* + * TODO: Just a placeholder to remember that our wcwidth() + * is only a mock of the actual implementation. + */ + +/* +output: +testing +done +end: +*/ + +int +main(void) +{ + return 0; +} diff --git a/tests/libc/execute/0084-strtof.c b/tests/libc/execute/0084-strtof.c @@ -0,0 +1,17 @@ +/* + * TODO: Just a placeholder to remember that our wcwidth() + * is only a mock of the actual implementation. + */ + +/* +output: +testing +done +end: +*/ + +int +main(void) +{ + return 0; +} diff --git a/tests/libc/execute/0085-strtold.c b/tests/libc/execute/0085-strtold.c @@ -0,0 +1,17 @@ +/* + * TODO: Just a placeholder to remember that our wcwidth() + * is only a mock of the actual implementation. + */ + +/* +output: +testing +done +end: +*/ + +int +main(void) +{ + return 0; +} diff --git a/tests/libc/execute/libc-tests.lst b/tests/libc/execute/libc-tests.lst @@ -79,3 +79,6 @@ 0080-atoi 0081-atol 0082-atoll +0083-strtod [TODO] +0084-strtof [TODO] +0085-strtold [TODO]