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.
|
#include <stdio.h> |
|
|
|
#if defined(_WIN32) || defined(__CYGWIN__) |
|
__declspec(dllimport) |
|
#endif |
|
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; |
|
}
|
|
|