The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
248 B
17 lines
248 B
8 years ago
|
#include <stdio.h>
|
||
8 years ago
|
|
||
|
extern "C" {
|
||
|
unsigned square_unsigned (unsigned a);
|
||
|
}
|
||
|
|
||
|
int
|
||
|
main (int argc, char * argv[])
|
||
|
{
|
||
8 years ago
|
unsigned int ret = square_unsigned (2);
|
||
|
if (ret != 4) {
|
||
|
printf("Got %u instead of 4\n", ret);
|
||
|
return 1;
|
||
|
}
|
||
8 years ago
|
return 0;
|
||
|
}
|