☰
Debian Codegraph
@
1.12.1-2
1.12.1-1
1.12.0-3
1.12.0-2
1.11.1-3
1.11.1-2
/
/
test cases
/
common
/
118 llvm ir and assembly
/
main.cpp
☽
☼
test cases/common/118 llvm ir and assembly/main.cpp
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
#include <stdio.h>
2
3
extern "C" {
4
unsigned square_unsigned (unsigned a);
5
}
6
7
int main (void)
8
{
9
unsigned int ret = square_unsigned (2);
10
if (ret != 4) {
11
printf("Got %u instead of 4\n", ret);
12
return 1;
13
}
14
return 0;
15
}