summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/rv-this.C
blob: 8064a51d44f131d951ea167cda9a2f407ad918f8 (plain)
1
2
3
4
5
6
7
// PR c++/56701
// { dg-require-effective-target c++11 }

struct A
{
  void f(){ A*&& a = this; }
};