Commit 7e12c0e0 by Paolo Carlini Committed by Paolo Carlini

re PR c++/80947 (Different visibility for the lambda and its capture list…

re PR c++/80947 (Different visibility for the lambda and its capture list members with -fvisibility=hidden)

2017-09-18  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/80947
	* g++.dg/cpp0x/lambda/lambda-80947.C: New.

From-SVN: r252957
parent 4d034b52
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.
......
// { 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; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment