Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr101171.c
blob8d2bcabd3e4c986b677c6ec6a2f90bd9f99955db
1 /* PR c/101171 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 extern void foo (void);
6 int x = 0x1234;
8 void
9 bar (void)
11 if (x != (sizeof ((enum T) 0x1234))) /* { dg-error "conversion to incomplete type" } */
12 foo ();