Add tests to make sure that is_constructible<cv-void> is false. We already checked 'unqualified void'. This was brought up by LWG#2738
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@283161 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -116,6 +116,9 @@ int main()
|
||||
#endif
|
||||
test_is_not_constructible<A, void> ();
|
||||
test_is_not_constructible<void> ();
|
||||
test_is_not_constructible<const void> (); // LWG 2738
|
||||
test_is_not_constructible<volatile void> ();
|
||||
test_is_not_constructible<const volatile void> ();
|
||||
test_is_not_constructible<int&> ();
|
||||
test_is_not_constructible<Abstract> ();
|
||||
test_is_not_constructible<AbstractDestructor> ();
|
||||
|
||||
Reference in New Issue
Block a user