summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this19.C
blob: c4c041f8b3092c3cf16e697e1a3e21dedf718f99 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/63320
// { dg-do compile { target c++11 } }

class A {
  static void addWindow();
  static void activateWindow(void *);
};
void A::addWindow() {
  int* action {};
  [action] { activateWindow(action); };
}