blob: f0436adfe9a2517ee699eb2744be28fa2382f621 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// PR c++/89422
// { dg-do compile { target c++11 } }
// { dg-additional-options -g }
template <int> struct S
{
friend void foo (int a = []{ return 0; }()) {}
int b;
};
S<0> t;
|