diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-08-28 05:46:17 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-08-28 05:46:17 +0000 |
commit | 1e051aab0cc12bb4a4c1be8d1b1b70537fd0f012 (patch) | |
tree | cccde78e8ef13effb76aaa162ff1901771f7cd1d /libcxx/test/std/experimental/algorithms | |
parent | bc3af7b031b5cb4faea54fbdf7cab2e0dd4d01e1 (diff) | |
download | bcm5719-llvm-1e051aab0cc12bb4a4c1be8d1b1b70537fd0f012.tar.gz bcm5719-llvm-1e051aab0cc12bb4a4c1be8d1b1b70537fd0f012.zip |
Finally get the test suite passing in C++03!!
After months of work there are only 4 tests still failing in C++03.
This patch fixes those tests.
All of the libc++ builders should be green.
llvm-svn: 246275
Diffstat (limited to 'libcxx/test/std/experimental/algorithms')
-rw-r--r-- | libcxx/test/std/experimental/algorithms/alg.search/search.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/experimental/algorithms/alg.search/search.pass.cpp b/libcxx/test/std/experimental/algorithms/alg.search/search.pass.cpp index e27f0e43b18..ce27225f284 100644 --- a/libcxx/test/std/experimental/algorithms/alg.search/search.pass.cpp +++ b/libcxx/test/std/experimental/algorithms/alg.search/search.pass.cpp @@ -35,9 +35,9 @@ struct MySearcher { int main() { typedef int * RI; - static_assert(std::is_same<RI, decltype(std::experimental::search(RI(), RI(), MySearcher()))>::value, "" ); + static_assert((std::is_same<RI, decltype(std::experimental::search(RI(), RI(), MySearcher()))>::value), "" ); - RI it{nullptr}; + RI it(nullptr); assert(it == std::experimental::search(it, it, MySearcher())); assert(searcher_called == 1); } |