forked from OSchip/llvm-project
Add tests to make sure that is_constructible<cv-void> is false. We already checked 'unqualified void'. This was brought up by LWG#2738
llvm-svn: 283161
This commit is contained in:
parent
be3be28b5d
commit
53abcbd8a9
|
@ -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> ();
|
||||
|
|
Loading…
Reference in New Issue