sizeof(function_designator) is not allowed.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sun, 1 Jun 2008 13:44:44 +0000 (13:44 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sun, 1 Jun 2008 13:44:44 +0000 (13:44 +0000)
[r19900]

parsetest/shouldfail/sizeof_function.c [new file with mode: 0644]

diff --git a/parsetest/shouldfail/sizeof_function.c b/parsetest/shouldfail/sizeof_function.c
new file mode 100644 (file)
index 0000000..03f88d5
--- /dev/null
@@ -0,0 +1,2 @@
+void f(void) {}
+int x = sizeof(f);