diff options
Diffstat (limited to 'test/std/utilities/variant/variant.get/get_type.pass.cpp')
-rw-r--r-- | test/std/utilities/variant/variant.get/get_type.pass.cpp | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/test/std/utilities/variant/variant.get/get_type.pass.cpp b/test/std/utilities/variant/variant.get/get_type.pass.cpp index 7b4a67048..316213ed2 100644 --- a/test/std/utilities/variant/variant.get/get_type.pass.cpp +++ b/test/std/utilities/variant/variant.get/get_type.pass.cpp @@ -1,22 +1,15 @@ // -*- C++ -*- //===----------------------------------------------------------------------===// // -// 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. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11, c++14 -// XFAIL: availability=macosx10.13 -// XFAIL: availability=macosx10.12 -// XFAIL: availability=macosx10.11 -// XFAIL: availability=macosx10.10 -// XFAIL: availability=macosx10.9 -// XFAIL: availability=macosx10.8 -// XFAIL: availability=macosx10.7 +// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions // <variant> @@ -286,10 +279,12 @@ void test_throws_for_all_value_categories() { #endif } -int main() { +int main(int, char**) { test_const_lvalue_get(); test_lvalue_get(); test_rvalue_get(); test_const_rvalue_get(); test_throws_for_all_value_categories(); + + return 0; } |