This commit is contained in:
nora 2023-10-01 15:28:22 +02:00
parent 9d74d9120c
commit 2f0191768f
6 changed files with 44 additions and 6 deletions

9
tests/c/strtol.c Normal file
View file

@ -0,0 +1,9 @@
#include<stdlib.h>
int main(void) {
char *str = "12";
long value = strtol(str, NULL, 10);
if (value != 12) {
return 1;
}
}