diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2016-04-27 01:46:43 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2016-04-27 01:46:43 +0000 |
| commit | 91929f643e6ec498e5968674f630dff589a83986 (patch) | |
| tree | efc7e82eef9a8be17bc4a1484f0773336cc08dfe /libcxx/test/std | |
| parent | 5253a089baf9d75cfbf23850dbdf7f0e5234428b (diff) | |
| download | bcm5719-llvm-91929f643e6ec498e5968674f630dff589a83986.tar.gz bcm5719-llvm-91929f643e6ec498e5968674f630dff589a83986.zip | |
Fix = that should have been == in test. Thanks to STL@microsoft for the catch
llvm-svn: 267654
Diffstat (limited to 'libcxx/test/std')
| -rw-r--r-- | libcxx/test/std/containers/associative/map/compare.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/associative/map/compare.pass.cpp b/libcxx/test/std/containers/associative/map/compare.pass.cpp index 26ac7af7d90..9d1c13d7b8e 100644 --- a/libcxx/test/std/containers/associative/map/compare.pass.cpp +++ b/libcxx/test/std/containers/associative/map/compare.pass.cpp @@ -44,7 +44,7 @@ int main() MapT map; IterBool result = map.insert(std::make_pair(Key(0), 42)); assert(result.second); - assert(result.first->second = 42); + assert(result.first->second == 42); IterBool result2 = map.insert(std::make_pair(Key(0), 43)); assert(!result2.second); assert(map[Key(0)] == 42); |

