summaryrefslogtreecommitdiff
path: root/test/regression/funct3.c
blob: 8a1acded9c0a9960d7865d7968f2eb890b5e115a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

unsigned char foo (unsigned short n)
{
  printf("%d\n", n);
  return -30;
}

int main (void)
{
  int x = foo(-123456);
  printf("%d\n", x);
  return 0;
}