From 8a67be94987eacefad786d62d74ace60cb6944c4 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 17 Mar 2008 13:50:58 +0000 Subject: [PATCH] should be a const expression [r18957] --- parsetest/noconst.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 parsetest/noconst.c diff --git a/parsetest/noconst.c b/parsetest/noconst.c new file mode 100644 index 0000000..f685ffd --- /dev/null +++ b/parsetest/noconst.c @@ -0,0 +1,7 @@ +int func(void) { return 0; } + +int (*ptr)(void) = **func; + +int main(void) { + return ptr(); +} -- 2.20.1