vendored-meson/meson/test cases/common/127 generated assembly/main.c
raw| 1 | #include <stdio.h> |
| 2 | |
| 3 | #if defined(_WIN32) || defined(__CYGWIN__) |
| 4 | __declspec(dllimport) |
| 5 | #endif |
| 6 | unsigned square_unsigned (unsigned a); |
| 7 | |
| 8 | int main(void) |
| 9 | { |
| 10 | unsigned int ret = square_unsigned (2); |
| 11 | if (ret != 4) { |
| 12 | printf("Got %u instead of 4\n", ret); |
| 13 | return 1; |
| 14 | } |
| 15 | return 0; |
| 16 | } |