2017-09-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/80947
* g++.dg/cpp0x/lambda/lambda-80947.C: New.
From-SVN: r252957
+2017-09-18 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/80947
+ * g++.dg/cpp0x/lambda/lambda-80947.C: New.
+
2017-09-18 Richard Sandiford <richard.sandiford@linaro.org>
* gcc.dg/vect/slp-multitypes-13.c: New test.
--- /dev/null
+// { dg-do compile { target c++11 } }
+// { dg-require-visibility "" }
+// { dg-options "-fvisibility=hidden" }
+
+template<class T>
+class MyClass {
+public:
+ MyClass() {
+ auto outer = [this]()
+ {
+ auto fn = [this] { };
+ };
+ }
+};
+
+int main() { MyClass<int> r; }