From: Michael Beck Date: Sun, 31 Aug 2008 11:38:27 +0000 (+0000) Subject: - improved test X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=9d664fd5840b9a95970bfc3d12d6e41c38e166c7;p=cparser - improved test [r21581] --- diff --git a/parsetest/gnu99/pointerarith.c b/parsetest/gnu99/pointerarith.c index 1b54bd1..c473d5e 100644 --- a/parsetest/gnu99/pointerarith.c +++ b/parsetest/gnu99/pointerarith.c @@ -1,3 +1,13 @@ +typedef int (*func)(void); + +void *add(void *p) { + return p + 1; +} + +func next(func f) { + return f + 1; +} + int main(void) { void *a = 0; a += 5;