aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/bool.c
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-04-20 08:42:06 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-04-20 08:42:06 +0000
commit0c805fe28e5ebdf4890dd42f5c12a85ee61bafc5 (patch)
tree7ad5f4b4c87a7a0f9f22a1da87f7e1fa2db4df7f /test/regression/bool.c
parentfe8a84e1212f14fa05626abe03dd91cdc9dcc3db (diff)
downloadcompcert-0c805fe28e5ebdf4890dd42f5c12a85ee61bafc5.tar.gz
compcert-0c805fe28e5ebdf4890dd42f5c12a85ee61bafc5.zip
Tests "floats" and "floats-basics" moved from test/c to test/regression
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2202 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/regression/bool.c')
-rw-r--r--test/regression/bool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regression/bool.c b/test/regression/bool.c
index d2b38572..4f8ed809 100644
--- a/test/regression/bool.c
+++ b/test/regression/bool.c
@@ -9,7 +9,7 @@ int main()
_Bool a, b, c, d, e, f, g, h, i;
a = x;
b = x >= 100;
- c = &x;
+ c = (_Bool) &x;
d = a && b;
e = a || b;
f = a & b;