Fix build errors in C++03 caused by recent debug changes
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -29,8 +29,8 @@ int main()
|
||||
}
|
||||
{
|
||||
// test that the libc++ exception type derives from std::exception
|
||||
static_assert(std::is_base_of<std::exception,
|
||||
static_assert((std::is_base_of<std::exception,
|
||||
std::__libcpp_debug_exception
|
||||
>::value, "must be an exception");
|
||||
>::value), "must be an exception");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user