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:
Marshall Clow
2016-02-23 17:01:52 +00:00
parent 20fefa6b3a
commit c310174934

View File

@@ -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
}