aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/ref-qual15.C
blob: ca333c2e2874e820f4574f3e490848cff0f79c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/59296
// { dg-do compile { target c++11 } }

struct Type
{
  void get() const& { }
  void get() const&& { }
};

int main()
{
  Type{}.get();
}