From 0e63c73b593b5792fb4f96e8fb1255181b523bd2 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Tue, 23 Jan 2018 01:52:39 +0330 Subject: some tests for the ffi funcitonality on bruiuser --- bfd/test/test.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bfd/test') diff --git a/bfd/test/test.c b/bfd/test/test.c index fa9f74d..1a9461a 100644 --- a/bfd/test/test.c +++ b/bfd/test/test.c @@ -8,6 +8,9 @@ int myfunc5(void) {return 5;} int myfunc6(void) {return 6;} int add2(int a, int b) {return a + b;} int sub2(int a, int b) {return a - b;} +double adddouble(double a, double b) {return a+b;} +double subdouble(double a, double b) {return a-b;} +double triple(double a, double b, double c) {return a+b+c;} int myvar1 = 1; int myvar2 = 2; -- cgit v1.2.3