aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this15.C
blob: d44bec9494d49ff4aa538e8aa50539a046318a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/56692
// { dg-require-effective-target c++11 }

struct Class {
  void f () { }
  static void f (int) { }
};

int main ()
{
  []{ Class::f(0); };
}