summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-11-20 18:25:22 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-11-20 18:25:22 +0000
commit092980dd65c551263c2bfc6e2a932b2f5b19a13f (patch)
tree0776b8227d4a2dfd830d1e93015f879c7734bbf0 /libcxx/test
parent36590fc72ae0909df4dbc780e1d496cd254d4b37 (diff)
downloadbcm5719-llvm-092980dd65c551263c2bfc6e2a932b2f5b19a13f.tar.gz
bcm5719-llvm-092980dd65c551263c2bfc6e2a932b2f5b19a13f.zip
N3123
llvm-svn: 119906
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp b/libcxx/test/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp
index 151a61e3574..84e14e430cc 100644
--- a/libcxx/test/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp
+++ b/libcxx/test/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp
@@ -33,7 +33,7 @@ int main()
static_assert((std::is_same<std::result_of<S(int)>::type, short>::value), "Error!");
static_assert((std::is_same<std::result_of<S&(unsigned char, int&)>::type, double>::value), "Error!");
static_assert((std::is_same<std::result_of<PF1()>::type, bool>::value), "Error!");
-// static_assert(std::is_same<std::result_of<PMS(std::unique_ptr<S>, int)>::type, void>::value, "Error!");
-// static_assert(std::is_same<std::result_of<PMD(S)>::type, char&&>::value, "Error!");
-// static_assert(std::is_same<std::result_of<PMD(const S*)>::type, const char&>::value, "Error!");
+ static_assert((std::is_same<std::result_of<PMS(std::unique_ptr<S>, int)>::type, void>::value), "Error!");
+ static_assert((std::is_same<std::result_of<PMD(S)>::type, char&&>::value), "Error!");
+ static_assert((std::is_same<std::result_of<PMD(const S*)>::type, const char&>::value), "Error!");
}
OpenPOWER on IntegriCloud