1 // PR c++/52363
2 // { dg-do compile { target c++11 } }
3 
4 #include <type_traits>
5 
6 struct proxy
7 {
8   void operator=(int const&);
9   void operator=(int&&) const;
10 };
11 
12 static_assert( !std::is_assignable<proxy, int>::value, "" );
13 static_assert( std::is_assignable<const proxy, int>::value, "" );
14