builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70174.c
blob59d231e1623db0167d21d2385d6ebc3881e698e1
1 /* PR rtl-optimization/70174 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 struct S { int f : 4; } a;
7 void
8 foo (void)
9 {
10 a.f = foo; /* { dg-warning "assignment to 'signed char:4' from 'void \\(\\*\\)\\(void\\)' makes integer from pointer without a cast" } */