In the num.c file, the only code is
__attribute__((dllexport)) int num(void) { return 42; }
Then execute clang num.c -shared -o num.dll
in the command prompt, The compiled product num.dll has 89kb
Obviously, the part of the code is very small :
What are the parts of the dll?
On Windows 10, clang 13.