[libcxx] r224748 - Remove non-const test to get test passing. Will come back later and (correctly) add non-const tests

Marshall Clow mclow.lists at gmail.com
Mon Dec 22 17:30:39 PST 2014


Author: marshall
Date: Mon Dec 22 19:30:39 2014
New Revision: 224748

URL: http://llvm.org/viewvc/llvm-project?rev=224748&view=rev
Log:
Remove non-const test to get test passing. Will come back later and (correctly) add non-const tests

Modified:
    libcxx/trunk/test/std/experimental/optional/optional.object/optional.object.observe/op_arrow.pass.cpp

Modified: libcxx/trunk/test/std/experimental/optional/optional.object/optional.object.observe/op_arrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/optional/optional.object/optional.object.observe/op_arrow.pass.cpp?rev=224748&r1=224747&r2=224748&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/optional/optional.object/optional.object.observe/op_arrow.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/optional/optional.object/optional.object.observe/op_arrow.pass.cpp Mon Dec 22 19:30:39 2014
@@ -25,11 +25,7 @@ using std::experimental::optional;
 
 struct X
 {
-#if _LIBCPP_STD_VER > 14
     constexpr int test() const {return 3;}
-#else
-    constexpr int test() {return 3;}
-#endif
 };
 
 #endif  // _LIBCPP_STD_VER > 11





More information about the cfe-commits mailing list