PR c++/82069 - ICE with lambda in template
[official-gcc.git] / gcc / testsuite / gcc.dg / pr60704.c
blob8a9af39fffa1dc16395f6fdad7d1fa88350a1d2d
1 /* { dg-do compile } */
2 /* { dg-options "-flive-range-shrinkage" } */
3 /* { dg-additional-options "-march=amdfam10" { target { i?86-*-* x86_64-*-* } } } */
5 struct S
7 int n;
8 };
10 int
11 foo (struct S s, double a)
13 return s.n * a;