From 891377ce1962cdb31357d6580d6546ec22df2b4f Mon Sep 17 00:00:00 2001 From: xleroy Date: Wed, 3 Mar 2010 10:22:27 +0000 Subject: Switching to the new C parser/elaborator/simplifier git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1269 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- test/regression/expr3.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/regression/expr3.c (limited to 'test/regression/expr3.c') diff --git a/test/regression/expr3.c b/test/regression/expr3.c new file mode 100644 index 00000000..9b696e5d --- /dev/null +++ b/test/regression/expr3.c @@ -0,0 +1,7 @@ +/* Array decay in && */ + +struct s { + int a[1]; +}; + +int f(struct s * x) { return x && x->a; } -- cgit