aboutsummaryrefslogtreecommitdiffstats
path: root/coverage/bin/bug.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-06-22 18:30:43 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-06-22 18:30:43 +0200
commit57e09344b57d98515bf02165e0e33a1d43134af0 (patch)
treee135a770ca7d0357c3d3ef9c25b2987fa30681ab /coverage/bin/bug.c
parent1f9e60c26a10bc4232b4827e85235dafcee17120 (diff)
coverage: Add coverage testflounder_5.99.1flounder/5.99.15.99.1
This is a first version of the coverage tests. Change-Id: Iec2feaba12c369b2ff5fb82e246fa0cad87813f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'coverage/bin/bug.c')
-rw-r--r--coverage/bin/bug.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/coverage/bin/bug.c b/coverage/bin/bug.c
new file mode 100644
index 00000000..ddebdef7
--- /dev/null
+++ b/coverage/bin/bug.c
@@ -0,0 +1,6 @@
+#define AFB_BINDING_VERSION 3
+#include <afb/afb-binding.h>
+int afbBindingEntry(afb_api_t api)
+{
+ return ((int(*)())(intptr_t)0)();
+}