[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr59963-3.c
blobeafa37473f3a8da4a45d4fa92d08ebee99f74744
1 /* PR c/59963 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wconversion" } */
5 extern void foo (void *p);
7 void
8 bar (void)
11 /* This must not ICE. */
12 int i __attribute__((cleanup (foo)));