[hackers] [scc] [tests] Fix test added in 6fe29dd || Roberto E. Vargas Caballero
commit 661bc252516e229e3f3769956b1b16c8d40a95eb
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Feb 15 09:00:30 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Feb 15 09:01:43 2017 +0100
[tests] Fix test added in 6fe29dd
Tests must have a main function which returns 0.
diff --git a/tests/execute/0110-typedefcast.c b/tests/execute/0110-typedefcast.c
index 2689099..fb608eb 100644
--- a/tests/execute/0110-typedefcast.c
+++ b/tests/execute/0110-typedefcast.c
_AT_@ -1,2 +1,8 @@
typedef int myint;
myint x = (myint)1;
+
+int
+main(void)
+{
+ return x-1;
+}
Received on Wed Feb 15 2017 - 09:02:36 CET
This archive was generated by hypermail 2.3.0
: Wed Feb 15 2017 - 09:12:37 CET