repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/82069 - ICE with lambda in template
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr30473.c
blob
f01c1cc4a7c53dcf109ded782629950ace688767
1
/* PR middle-end/30473 */
2
/* Make sure this doesn't ICE. */
3
/* { dg-do compile } */
4
/* { dg-options "-O2" } */
5
6
extern
int
sprintf
(
char
*,
const char
*, ...);
7
8
void
9
foo
(
char
*
buf1
,
char
*
buf2
)
10
{
11
sprintf
(
buf1
,
"%s"
,
"abcde"
);
12
sprintf
(
buf2
,
"%s"
);
13
}