From 054ce39caf060408f6555bcd0b6d90b5bf4c00c5 Mon Sep 17 00:00:00 2001 From: xleroy Date: Wed, 8 May 2013 07:59:10 +0000 Subject: Missing case: initialization of a global variable of type _Bool. Added corresponding test case. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2242 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- test/regression/bool.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/regression/bool.c') diff --git a/test/regression/bool.c b/test/regression/bool.c index 4f8ed809..e8d8b6e7 100644 --- a/test/regression/bool.c +++ b/test/regression/bool.c @@ -3,6 +3,7 @@ #include int x = 42; +_Bool y = 777; int main() { @@ -25,5 +26,6 @@ int main() printf("g = %d\n", g); printf("h = %d\n", h); printf("i = %d\n", i); + printf("y = %d\n", y); return 0; } -- cgit