yes
This commit is contained in:
@@ -8,5 +8,6 @@ int main(void)
|
||||
{
|
||||
int len;
|
||||
|
||||
len = _printf("Hello world");
|
||||
len = _printf("Hello world\n");
|
||||
return (len);
|
||||
}
|
||||
|
||||
@@ -9,10 +9,11 @@
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char test_0[] = "Hej";
|
||||
char *test_0 = "Hej";
|
||||
/*
|
||||
* Brain ded to think bout test cond
|
||||
*/
|
||||
return (_printf("%s", test_0));
|
||||
_printf("%s \n", test_0);
|
||||
return (_printf("hey, %s", test_0));
|
||||
|
||||
}
|
||||
|
||||
3
tests/test.sh
Executable file
3
tests/test.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/bash
|
||||
gcc -Wall -pedantic -Werror -Wextra -std=gnu89 $1 ../*.c -o a
|
||||
./a
|
||||
Reference in New Issue
Block a user