1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 // UNSUPPORTED: c++98, c++03
19 move_only(const move_only&);
20 move_only& operator=(const move_only&);
22 move_only(move_only&&) {}
23 move_only& operator=(move_only&&) {return *this;}
28 move_only source() {return move_only();}
29 const move_only csource() {return move_only();}
31 void test(move_only) {}