blob: 6982534e9ee59a4b230ecfc274d2444687e8eb11 [file] [log] [blame]
/* PR tree-optimization/78586 */
void
foo (unsigned long x)
{
char a[30];
unsigned long b = __builtin_sprintf (a, "%lu", x);
if (b != 4)
__builtin_abort ();
}
int
main ()
{
foo (1000);
return 0;
}