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 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: c++98, c++03
12 // Test exporting the symbol: "__cxa_deleted_virtual" in macosx
13 // But don't expect the symbol to be exported in previous versions.
15 // XFAIL: with_system_cxx_lib=macosx10.14
16 // XFAIL: with_system_cxx_lib=macosx10.13
17 // XFAIL: with_system_cxx_lib=macosx10.12
18 // XFAIL: with_system_cxx_lib=macosx10.11
19 // XFAIL: with_system_cxx_lib=macosx10.10
20 // XFAIL: with_system_cxx_lib=macosx10.9
21 // XFAIL: with_system_cxx_lib=macosx10.8
22 // XFAIL: with_system_cxx_lib=macosx10.7
24 struct S { virtual void f() = delete; virtual ~S() {} };