blob: 39e884b6ceb6de1a1c075c6cda9cf747e2b534de [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// 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.
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
// Test exporting the symbol: "__cxa_deleted_virtual" in macosx
struct S { virtual void f() = delete; virtual ~S() {} };
int main() {
S *s = new S;
delete s;
}