aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
Diffstat (limited to 'validation')
-rw-r--r--validation/noderef.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/validation/noderef.c b/validation/noderef.c
index 15be3278..a95bc8c3 100644
--- a/validation/noderef.c
+++ b/validation/noderef.c
@@ -40,3 +40,12 @@ static void h(void)
r = py->a+1;
r = &py->a[0];
}
+/*
+ * check-name: noderef attribute
+ *
+ * check-error-start
+noderef.c:24:5: warning: incorrect type in assignment (different modifiers)
+noderef.c:24:5: expected char *[noderef] *q2
+noderef.c:24:5: got char [noderef] **<noident>
+ * check-error-end
+ */