I created an empty C program (main.c) and compiled it to wasm (empty.wasm) with command:
And then tried to decompile that wasm file:
The result file (out.c) doesn't compile and shows a lot of errors.
All the specified files are in the attached files.zip file.
I used latest versions of emcc and wasmdec.
files.zip