Add tests for LWG#2560. No code changes, just tests
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@261653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -99,4 +99,13 @@ int main()
|
||||
test_is_not_constructible<int&> ();
|
||||
test_is_not_constructible<Abstract> ();
|
||||
test_is_not_constructible<AbstractDestructor> ();
|
||||
|
||||
// LWG 2560
|
||||
test_is_not_constructible<void()> ();
|
||||
#if TEST_STD_VERS > 11
|
||||
test_is_not_constructible<void() const> ();
|
||||
test_is_not_constructible<void() volatile> ();
|
||||
test_is_not_constructible<void() &> ();
|
||||
test_is_not_constructible<void() &&> ();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user