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
/
pr38615.c
blob
8a818a11fb36c7b6c5d83ba54ea45fae6773ea56
1
/* { dg-do run } */
2
3
int
t
;
4
extern
void
abort
(
void
);
5
6
int
f
(
int
t
,
const int
*
a
)
7
{
8
const int
b
[] = {
1
,
2
,
3
};
9
if
(!
t
)
10
return
f
(
1
,
b
);
11
return
b
==
a
;
12
}
13
14
int
main
(
void
)
15
{
16
if
(
f
(
0
,
0
))
17
abort
();
18
return
0
;
19
}