diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..5a1f3db3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*~ +*.exe +a.out diff --git a/test/c/gif/basic.c b/test/c/gif/basic.c new file mode 100644 index 00000000..92888c8b --- /dev/null +++ b/test/c/gif/basic.c @@ -0,0 +1,25 @@ +// Use of this source code is governed by a BSD-style license that can be found +// in the LICENSE file. + +/* +To manually run this test: + +for cc in clang gcc; do + printf "%-8s" "$cc:" + $cc -std=c99 -Wall -Werror basic.c && ./a.out + rm -f a.out +done + +It should print: +clang: PASS +gcc: PASS +*/ + +#include + +#include "../../../gen/c/gif.c" + +int main(int argc, char** argv) { + printf("PASS\n"); + return 0; +}