Commit b85db96a by Jason Merrill

re PR c++/56692 ([C++11] Segmentation fault when calling static/non-static…

re PR c++/56692 ([C++11] Segmentation fault when calling static/non-static overloaded function from lambda)

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

From-SVN: r197068
parent 963afe1b
// PR c++/56692
// { dg-require-effective-target c++11 }
struct Class {
void f () { }
static void f (int) { }
};
int main ()
{
[]{ Class::f(0); };
}
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