From 096a6e38665392d1de16a3059d73ed77e32045a5 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Fri, 24 Jun 2016 15:07:00 +0200 Subject: 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. --- test/regression/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/regression/Makefile') diff --git a/test/regression/Makefile b/test/regression/Makefile index 6ef44b78..335a136b 100644 --- a/test/regression/Makefile +++ b/test/regression/Makefile @@ -18,7 +18,7 @@ TESTS=int32 int64 floats floats-basics \ funct3 expr5 struct7 struct8 struct11 struct12 casts1 casts2 char1 \ sizeof1 sizeof2 binops bool for1 switch switch2 compound \ decl1 interop1 bitfields9 ptrs3 \ - parsing + parsing krfun # Can run, but only in compiled mode, and have reference output in Results -- cgit