diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2016-10-24 14:21:51 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2016-10-24 14:34:59 +0200 |
commit | 03ab00aec5d10f4a2d048fab7f16489cf33fcc1d (patch) | |
tree | 16d5313fb0d61585f6d82c6232228d716e9f7553 /test/regression/initializers2.c | |
parent | 2fc1f0ce18c45d1148493d58e0c848fc70c44a4d (diff) | |
download | compcert-03ab00aec5d10f4a2d048fab7f16489cf33fcc1d.tar.gz compcert-03ab00aec5d10f4a2d048fab7f16489cf33fcc1d.zip |
Update the tests and test infrastructure in test/regression
Tests updated to work with x86 64 bits.
Infrastructure added: script "Runtest", with ability to have different reference outputs depending on platform or bit size.
Diffstat (limited to 'test/regression/initializers2.c')
-rw-r--r-- | test/regression/initializers2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regression/initializers2.c b/test/regression/initializers2.c index f8d5cafa..82fd9432 100644 --- a/test/regression/initializers2.c +++ b/test/regression/initializers2.c @@ -43,7 +43,7 @@ int main() a2[0], a2[1], a2[2], a2[3], a2[4]); printf("a3 = { %d, %d, %d, %d, %d } (size = %d)\n", a3[0], a3[1], a3[2], a3[3], a3[4], - sizeof(a3) / sizeof(int)); + (int)(sizeof(a3) / sizeof(int))); printf("s1 = { %d, %.2f, %s }\n", s1.a, s1.b, s1.c); |