From dcef3916ee796c236b05d6a2d92ec8d7b899057a Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sun, 1 Jun 2008 13:44:44 +0000 Subject: [PATCH] sizeof(function_designator) is not allowed. [r19900] --- parsetest/shouldfail/sizeof_function.c | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 parsetest/shouldfail/sizeof_function.c diff --git a/parsetest/shouldfail/sizeof_function.c b/parsetest/shouldfail/sizeof_function.c new file mode 100644 index 0000000..03f88d5 --- /dev/null +++ b/parsetest/shouldfail/sizeof_function.c @@ -0,0 +1,2 @@ +void f(void) {} +int x = sizeof(f); -- 2.20.1