Debian Codegraph @

test cases/common/118 llvm ir and assembly/main.c

raw
1 #include <stdio.h>
2
3 unsigned square_unsigned (unsigned a);
4
5 int main(void)
6 {
7 unsigned int ret = square_unsigned (2);
8 if (ret != 4) {
9 printf("Got %u instead of 4\n", ret);
10 return 1;
11 }
12 return 0;
13 }