2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr43211.c
blob1549619ed16267c8859270e810135749d14ec87a
1 /* { dg-do compile } */
3 struct T;
5 struct S {
6 void (*bar)(struct S);
7 };
9 void bar(struct T t) {} /* { dg-error "" } */
11 void foo(struct S *s)
13 s->bar = bar;