aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/testFuncs2.c7
-rw-r--r--test/testFuncs2.h2
-rw-r--r--test/testFuncs3.c5
-rw-r--r--test/testFuncs3.h2
4 files changed, 15 insertions, 1 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c
index b382b8b..f6dadb6 100644
--- a/test/testFuncs2.c
+++ b/test/testFuncs2.c
@@ -98,6 +98,8 @@ typedef gaga incompletearr1;
int incompletearr1[];
int incompletearr2[];
+extern int externint;
+
int dudu;
int bubu;
int fufu;
@@ -432,5 +434,10 @@ void testfunc16(int* p1, int* p2, int* const p3, const int* p4, int* p5)
}
}
+void externfunc (void)
+{
+
+}
+
/*********************************************************************************************************************/
/*last line intentionally left blank.*/
diff --git a/test/testFuncs2.h b/test/testFuncs2.h
index 4e577c0..6ea79f5 100644
--- a/test/testFuncs2.h
+++ b/test/testFuncs2.h
@@ -22,7 +22,7 @@ int headervar;
double headervardouble;
/*********************************************************************************************************************/
/*funciton types go here.*/
-static void test33(void);
+void test33(void);
void testFunc1(void);
diff --git a/test/testFuncs3.c b/test/testFuncs3.c
index 54c6737..37caa92 100644
--- a/test/testFuncs3.c
+++ b/test/testFuncs3.c
@@ -106,5 +106,10 @@ void tddfunc6(void)
aunionproto.member1 = floatbitaccess;
apartoffloat = aunionproto.member22.member5 & 0x000000FF;
}
+
+int externfunc(int arg)
+{
+ return arg;
+}
/*********************************************************************************************************************/
/*last line intnetionally left blank.*/
diff --git a/test/testFuncs3.h b/test/testFuncs3.h
index 662ed65..332f4fc 100644
--- a/test/testFuncs3.h
+++ b/test/testFuncs3.h
@@ -53,6 +53,8 @@ do { \
#define ANSWER (17U)
#define STRINGLIT "dodo"
+extern int externint;
+
void tddfunc1(void);
void tddfunc2(void);
void tddfunc3(void);