diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2016-06-24 15:07:00 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2016-06-24 15:07:00 +0200 |
commit | 096a6e38665392d1de16a3059d73ed77e32045a5 (patch) | |
tree | 57258ac54c6a3a55a710303e7f1a77a532ad75e9 /test/regression/Results | |
parent | 9b31f673da13a4f4d04d937ac2b9e934c9b8291d (diff) | |
download | compcert-kvx-096a6e38665392d1de16a3059d73ed77e32045a5.tar.gz compcert-kvx-096a6e38665392d1de16a3059d73ed77e32045a5.zip |
Revised handling of old-style, K&R function definitions
This commits handles the case where the argument is passed with a type different from the actual type of the argument, as in
float f (x) float x; { return x; }
"x" is passed with type "double", and must be converted to "float" at the beginning of the function.
Diffstat (limited to 'test/regression/Results')
-rw-r--r-- | test/regression/Results/krfun | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/regression/Results/krfun b/test/regression/Results/krfun new file mode 100644 index 00000000..7e2320b2 --- /dev/null +++ b/test/regression/Results/krfun @@ -0,0 +1,3 @@ +f(1, "Hello", 2) +g(1, "World", 0x1.921fb6p+1, 0x1.921fb5452455p+1, -34, 12345678901234567) +h(6, "warning!", 7) |