tests/wasm: Add C language as well as C++ language to test

pull/6688/head
Dylan Baker 5 years ago
parent 63d67e2042
commit d3e2e9ad39
  1. 7
      test cases/wasm/1 basic/hello.c
  2. 3
      test cases/wasm/1 basic/meson.build

@ -0,0 +1,7 @@
#include <stdio.h>
int main() {
printf("Hello World\n");
return 0;
}

@ -1,3 +1,4 @@
project('emcctest', 'cpp')
project('emcctest', 'c', 'cpp')
executable('hello-c', 'hello.c')
executable('hello', 'hello.cpp')

Loading…
Cancel
Save