1 // PR c++/59296
2 // { dg-do compile { target c++11 } }
3 
4 struct Type
5 {
getType6   void get() const& { }
getType7   void get() const&& { }
8 };
9 
main()10 int main()
11 {
12   Type{}.get();
13 }
14