From: Christoph Mallon Date: Wed, 19 Dec 2007 13:53:52 +0000 (+0000) Subject: Strange ast2firm error for initializers. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=86b7ab6d7a28d6cdc5157e2edbc751e09fe3e2bb;p=cparser Strange ast2firm error for initializers. [r18803] --- diff --git a/parsetest/cp_error011.c b/parsetest/cp_error011.c new file mode 100644 index 0000000..1e79a1d --- /dev/null +++ b/parsetest/cp_error011.c @@ -0,0 +1,7 @@ +struct bla { int a; }; +void g(const struct bla); +void h(struct bla); +void f(void) +{ + const struct bla x = { 0 }; +}