aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/struct-ns2.c
diff options
Diffstat (limited to 'validation/struct-ns2.c')
-rw-r--r--validation/struct-ns2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/validation/struct-ns2.c b/validation/struct-ns2.c
index 2c543c2a..b38af0ab 100644
--- a/validation/struct-ns2.c
+++ b/validation/struct-ns2.c
@@ -1,11 +1,11 @@
-void
+static void
g (struct Bar { int i; } *x)
{
struct Bar y;
y.i = 1;
}
-void
+static void
h (void)
{
// This is not in scope and should barf loudly.