aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2014-12-17 10:36:41 +0100
committerXavier Leroy <xavier.leroy@inria.fr>2014-12-17 10:36:41 +0100
commit9a0cc571c98ca2ce41891c09c24aabfea4bfe639 (patch)
tree6f58b49a3bd0deca774bcfca553dfe6551462ba9 /test
parent2d3330d132b22db7dd44399e0aac6e9e60470f59 (diff)
downloadcompcert-9a0cc571c98ca2ce41891c09c24aabfea4bfe639.tar.gz
compcert-9a0cc571c98ca2ce41891c09c24aabfea4bfe639.zip
Prototype the pointer so that the program has well defined semantics and passes the reference interpreter.
Diffstat (limited to 'test')
-rw-r--r--test/regression/decl1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regression/decl1.c b/test/regression/decl1.c
index d2aedba7..6049b4af 100644
--- a/test/regression/decl1.c
+++ b/test/regression/decl1.c
@@ -10,7 +10,7 @@ int f (int p)
int main (int argc, char **argv)
{
- int (*p)();
+ int (*p)(int);
int f();
int i;