Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi10.C

raw
1 // PR c++/95870
2 // { dg-do compile { target c++11 } }
3
4 template <typename> struct S {
5 S();
6 int b = []() -> int { enum E {}; return 1; }();
7 };
8 struct C : S<int> {
9 C();
10 };
11 template <typename T> S<T>::S() = default;
12 C::C() {}