diff --git a/test cases/wasm/1 basic/hello.c b/test cases/wasm/1 basic/hello.c new file mode 100644 index 000000000..a104b3780 --- /dev/null +++ b/test cases/wasm/1 basic/hello.c @@ -0,0 +1,7 @@ +#include + +int main() { + printf("Hello World\n"); + return 0; +} + diff --git a/test cases/wasm/1 basic/meson.build b/test cases/wasm/1 basic/meson.build index 8fe713c73..1092a9ba7 100644 --- a/test cases/wasm/1 basic/meson.build +++ b/test cases/wasm/1 basic/meson.build @@ -1,3 +1,4 @@ -project('emcctest', 'cpp') +project('emcctest', 'c', 'cpp') +executable('hello-c', 'hello.c') executable('hello', 'hello.cpp')