1 /* { dg-do compile } */
2 /* { dg-options "-Wattributes" } */
4 /* Make sure #pragma can enable a warning. */
6 #pragma GCC diagnostic warning "-Waddress"
9 void __attribute__((dj
)) bar() { } /* { dg-warning ".* attribute directive ignored" } */
16 if (&i
) /* { dg-warning ".* will always evaluate as 'true'" } */