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
/
pr60704.c
blob
8a9af39fffa1dc16395f6fdad7d1fa88350a1d2d
1
/* { dg-do compile } */
2
/* { dg-options "-flive-range-shrinkage" } */
3
/* { dg-additional-options "-march=amdfam10" { target { i?86-*-* x86_64-*-* } } } */
4
5
struct
S
6
{
7
int
n
;
8
};
9
10
int
11
foo
(
struct
S s
,
double
a
)
12
{
13
return
s
.
n
*
a
;
14
}