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, c++11
14 // any::empty() noexcept
16 #include <experimental/any>
19 #include "experimental_any_helpers.h"
23 using std::experimental::any;
27 static_assert(noexcept(a.empty()), "any::empty() must be noexcept");