summaryrefslogtreecommitdiffstats
path: root/test cases/common/81 extract all/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/81 extract all/prog.c')
-rw-r--r--test cases/common/81 extract all/prog.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/81 extract all/prog.c b/test cases/common/81 extract all/prog.c
new file mode 100644
index 0000000..de0cc7f
--- /dev/null
+++ b/test cases/common/81 extract all/prog.c
@@ -0,0 +1,10 @@
+#include"extractor.h"
+#include<stdio.h>
+
+int main(void) {
+ if((1+2+3+4) != (func1() + func2() + func3() + func4())) {
+ printf("Arithmetic is fail.\n");
+ return 1;
+ }
+ return 0;
+}