URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [lambda/] [lambda-template2.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/47049// { dg-options -std=c++0x }enum { E = 0, F = 1 };template <int N, int M = ((N == 1) ? F : E)> class S {};template <int N>struct T{static voidfoo (S<N> *p){S<N> u;[&u] ()->bool {} ();}};int main(){T<0>().foo(0);}
