From 76d0b813af2279179aa6e73d76d9e6e4bb63aab5 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Tue, 13 Nov 2007 04:12:05 -0800 Subject: Add known-to-fail test case for a static forward declaration Based on a bug report by Matthew Wilcox. Signed-off-by: Josh Triplett --- validation/static-forward-decl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 validation/static-forward-decl.c (limited to 'validation') diff --git a/validation/static-forward-decl.c b/validation/static-forward-decl.c new file mode 100644 index 0000000..47e46dc --- /dev/null +++ b/validation/static-forward-decl.c @@ -0,0 +1,10 @@ +static int f(void); + +int f(void) +{ + return 0; +} +/* + * check-name: static forward declaration + * check-known-to-fail + */ -- cgit v1.2.3-65-gdbad