summaryrefslogtreecommitdiffstats
path: root/test/neg-test.c
diff options
context:
space:
mode:
authorAnton L. Šijanec <anton@sijanec.eu>2020-05-01 15:18:12 +0200
committerAnton L. Šijanec <anton@sijanec.eu>2020-05-01 15:18:12 +0200
commit6961e4237f24306ab2475f4f527a7c802134c4d9 (patch)
tree0d18e9dd78fe3dee482872a65fbf823e00cd31db /test/neg-test.c
parentfolder structure README.mf (diff)
downloadbverbose-6961e4237f24306ab2475f4f527a7c802134c4d9.tar
bverbose-6961e4237f24306ab2475f4f527a7c802134c4d9.tar.gz
bverbose-6961e4237f24306ab2475f4f527a7c802134c4d9.tar.bz2
bverbose-6961e4237f24306ab2475f4f527a7c802134c4d9.tar.lz
bverbose-6961e4237f24306ab2475f4f527a7c802134c4d9.tar.xz
bverbose-6961e4237f24306ab2475f4f527a7c802134c4d9.tar.zst
bverbose-6961e4237f24306ab2475f4f527a7c802134c4d9.zip
Diffstat (limited to 'test/neg-test.c')
-rw-r--r--test/neg-test.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/neg-test.c b/test/neg-test.c
new file mode 100644
index 0000000..3629737
--- /dev/null
+++ b/test/neg-test.c
@@ -0,0 +1,12 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <limits.h>
+extern int main(int argc, char* argv[]) {
+ char array[] = {'s','i','j','a','n','e','c',' '};
+ printf("it should always be sijanec and a space character for 2000 characters or OB1\n");
+ for(int i=0;i<=2000;i++) {
+ printf("%c", array[i% sizeof(array)]);
+ fflush(stdout);
+ }
+ return 0;
+}