The Meson Build System
http://mesonbuild.com/
18 lines
304 B
18 lines
304 B
8 years ago
|
#include <stdio.h>
|
||
|
|
||
8 years ago
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
||
|
__declspec(dllimport)
|
||
|
#endif
|
||
8 years ago
|
unsigned square_unsigned (unsigned a);
|
||
|
|
||
|
int
|
||
|
main (int argc, char * argv[])
|
||
|
{
|
||
|
unsigned int ret = square_unsigned (2);
|
||
|
if (ret != 4) {
|
||
|
printf("Got %u instead of 4\n", ret);
|
||
|
return 1;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|