[libcxx] r223778 - Move the optional tests into test/experimental. They were put into test/utilities because optional was going to be part of C++14, and then was pulled and put into the Library Fundamentals TS instead. No funcitonality change here; just moving files around.
Marshall Clow
mclow.lists at gmail.com
Tue Dec 9 07:07:42 PST 2014
Author: marshall
Date: Tue Dec 9 09:07:42 2014
New Revision: 223778
URL: http://llvm.org/viewvc/llvm-project?rev=223778&view=rev
Log:
Move the optional tests into test/experimental. They were put into test/utilities because optional was going to be part of C++14, and then was pulled and put into the Library Fundamentals TS instead. No funcitonality change here; just moving files around.
Added:
libcxx/trunk/test/experimental/optional/
- copied from r223775, libcxx/trunk/test/utilities/optional/
Removed:
libcxx/trunk/test/utilities/optional/
Modified:
libcxx/trunk/test/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp
Modified: libcxx/trunk/test/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp?rev=223778&r1=223777&r2=223778&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp (original)
+++ libcxx/trunk/test/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp Tue Dec 9 09:07:42 2014
@@ -35,6 +35,11 @@ class Empty
{
};
+class NoDefaultConstructor
+{
+ NoDefaultConstructor(int) {}
+};
+
class NotEmpty
{
public:
@@ -81,6 +86,7 @@ int main()
test_is_not_default_constructible<int&>();
test_is_not_default_constructible<char[]>();
test_is_not_default_constructible<Abstract>();
+ test_is_not_default_constructible<NoDefaultConstructor>();
#if __has_feature(cxx_access_control_sfinae)
test_is_not_default_constructible<B>();
#endif
More information about the cfe-commits
mailing list