diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2014-12-17 10:36:41 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2014-12-17 10:36:41 +0100 |
commit | 9a0cc571c98ca2ce41891c09c24aabfea4bfe639 (patch) | |
tree | 6f58b49a3bd0deca774bcfca553dfe6551462ba9 /test/regression/decl1.c | |
parent | 2d3330d132b22db7dd44399e0aac6e9e60470f59 (diff) | |
download | compcert-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/regression/decl1.c')
-rw-r--r-- | test/regression/decl1.c | 2 |
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; |