URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [lambda/] [lambda-mangle2.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/49276
// { dg-do compile }
// { dg-options "-std=c++0x" }
template <int N>
struct F
{
template <typename U> F (U);
};
struct S
{
void foo (F <0> x = [] {}) {}
};
int
main ()
{
S s;
s.foo ();
}