1 // PR c++/59823
2 // { dg-do compile { target c++11 } }
3 
4 struct X { };
5 
6 void f(X&&);
7 
8 struct wrap
9 {
10   operator const X&() const;
11 };
12 
main()13 int main()
14 {
15   wrap w;
16   f(w);				// { dg-error "" }
17 }
18