aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/126 generated llvm ir/main.c
blob: 35e8ed623bb5dae4d6b3decddb95f3f4736fb72a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>

unsigned square_unsigned (unsigned a);

int main(void)
{
  unsigned int ret = square_unsigned (2);
  if (ret != 4) {
    printf("Got %u instead of 4\n", ret);
    return 1;
  }
  return 0;
}