diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2016-02-23 17:01:52 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2016-02-23 17:01:52 +0000 |
commit | 9bb3582fc9234ed99531dd2949918fccfa3fd1d7 (patch) | |
tree | 76c3f1af2c99ca2866c6c6a99ace18b2b4e183ef | |
parent | 7d0d810ce547d4362c0d69a1504f705d7bd17260 (diff) | |
download | bcm5719-llvm-9bb3582fc9234ed99531dd2949918fccfa3fd1d7.tar.gz bcm5719-llvm-9bb3582fc9234ed99531dd2949918fccfa3fd1d7.zip |
Add tests for LWG#2560. No code changes, just tests
llvm-svn: 261653
-rw-r--r-- | libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp index 5401d95532b..d08e57d11f2 100644 --- a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp +++ b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp @@ -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 } |