/* Test for ICE handling internal formats: bug 20740. The code did
/* Test for ICE handling internal formats: bug 20740. The code did
not check that, if the required typedef names had been used as
not check that, if the required typedef names had been used as
identifiers, they were defined to suitable types. Test
identifiers, they were defined to suitable types. Test
"__gcc_host_wide_int__", bad type. */
"__gcc_host_wide_int__", bad type. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-Wformat" } */
/* { dg-options "-Wformat" } */
typedefint __gcc_host_wide_int__;
typedefint __gcc_host_wide_int__;
void bar (constchar*, ...) __attribute__ ((__format__ (__gcc_diag__,1,2)));/* { dg-error "error: '__gcc_host_wide_int__' is not defined as 'long' or 'long long'" } */
void bar (constchar*, ...) __attribute__ ((__format__ (__gcc_diag__,1,2)));/* { dg-error "error: '__gcc_host_wide_int__' is not defined as 'long' or 'long long'" } */