Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr30473.c
blob: f01c1cc4a7c53dcf109ded782629950ace688767 [
file
] [
log
] [
blame
]
/* PR middle-end/30473 */
/* Make sure this doesn't ICE. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
extern
int
sprintf
(
char
*,
const
char
*,
...);
void
foo
(
char
*
buf1
,
char
*
buf2
)
{
sprintf
(
buf1
,
"%s"
,
"abcde"
);
sprintf
(
buf2
,
"%s"
);
}