llvm-project/clang/test/CodeGenCXX/PR5834-constructor-conversi...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
274 B
C++
Raw Normal View History

// 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());
}