diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-07-28 12:51:16 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-07-28 12:51:16 +0000 |
commit | 4af1682d04244bab9f793e00eb24090153a36a0f (patch) | |
tree | a9a70d236c06a78aa9b607c6a41e09b80651aa51 /test | |
parent | d8d1bf1aa09373f64aa1b1e6cdfb914c23a910be (diff) |
Added animation of the CompCert C semantics (ccomp -interp)
test/regression: int main() so that interpretation works
Revised once more implementation of __builtin_memcpy (to check for PPC & ARM)
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1688 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test')
-rw-r--r-- | test/regression/expr1.c | 2 | ||||
-rw-r--r-- | test/regression/initializers.c | 2 | ||||
-rw-r--r-- | test/regression/volatile2.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/regression/expr1.c b/test/regression/expr1.c index 132ce44..10c9ea6 100644 --- a/test/regression/expr1.c +++ b/test/regression/expr1.c @@ -7,7 +7,7 @@ struct list * f(struct list ** p) return ((*p)->tl = 0); } -int main(int argc, char ** argv) +int main() { struct list l; l.tl = &l; diff --git a/test/regression/initializers.c b/test/regression/initializers.c index 7384091..c16a356 100644 --- a/test/regression/initializers.c +++ b/test/regression/initializers.c @@ -46,7 +46,7 @@ char * x18 = "Hello!"; char * x19[2] = { "Hello", "world!" }; -int main(int argc, char ** argv) +int main() { int i; diff --git a/test/regression/volatile2.c b/test/regression/volatile2.c index d83927b..0608650 100644 --- a/test/regression/volatile2.c +++ b/test/regression/volatile2.c @@ -8,7 +8,7 @@ *((ty *) &x) = v2; \ printf("%s 2: %s\n", msg, *((volatile ty *) &x) == v2 ? "OK" : "FAILED"); -int main(int argc, char ** argv) +int main() { signed char sc; unsigned char uc; |