aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/send_through/send_through_gcc.c
blob: be70a5660235850c8ac4151487ab67450e4df07e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include "send_through.h"

double sum_int_double(int x, double y) {
  return x + y;
}

int main() {
  double x = send_through(sum_int_double, 2, 3, 4.5);
  printf("x[gcc] = %f\n", x);
  print_from_ccomp(x);
}