You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
274 B

// RUN: %clang_cc1 -emit-llvm -o - %s
// PR5834
struct ASTMultiMover {};
struct ASTMultiPtr {
ASTMultiPtr();
ASTMultiPtr(ASTMultiPtr&);
ASTMultiPtr(ASTMultiMover mover);
operator ASTMultiMover();
};
void f1() {
extern void f0(ASTMultiPtr);
f0(ASTMultiPtr());
}