summaryrefslogtreecommitdiff
path: root/tests/projects/swig/java_c/src/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/swig/java_c/src/example.c')
-rw-r--r--tests/projects/swig/java_c/src/example.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/projects/swig/java_c/src/example.c b/tests/projects/swig/java_c/src/example.c
index 06f76c542..a3f19629d 100644
--- a/tests/projects/swig/java_c/src/example.c
+++ b/tests/projects/swig/java_c/src/example.c
@@ -2,3 +2,7 @@ int fact(int n) {
return n;
}
+int fact2(int n) {
+ return n;
+}
+