//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // default_delete // Test that default_delete does not have a working converting constructor #include #include struct A { }; struct B : public A { }; int main() { std::default_delete d2; std::default_delete d1 = d2; }