diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-09-22 18:09:13 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-09-22 18:09:13 +0000 |
commit | e8fe34d4d1383fa5ba7cfe4ae4324b276450eb24 (patch) | |
tree | 903e1520e3f127146bdf786b8d809e4f154b9a62 /libcxx/test | |
parent | da817b6186a8932b7b7710d4408ed4da5dd0c0d1 (diff) | |
download | bcm5719-llvm-e8fe34d4d1383fa5ba7cfe4ae4324b276450eb24.tar.gz bcm5719-llvm-e8fe34d4d1383fa5ba7cfe4ae4324b276450eb24.zip |
The test I cnecked in to check the fix for PR#24890 failed (as expected) w/o the fix, but for the wrong reason. Now it fails for the right reason.
llvm-svn: 248307
Diffstat (limited to 'libcxx/test')
-rw-r--r-- | libcxx/test/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp b/libcxx/test/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp index 2e72f3543eb..0ad5786bce2 100644 --- a/libcxx/test/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp +++ b/libcxx/test/std/utilities/utility/pairs/pairs.pair/swap.pass.cpp @@ -20,6 +20,7 @@ struct S { int i; S() : i(0) {} S(int j) : i(j) {} + S * operator& () { assert(false); return this; } S const * operator& () const { assert(false); return this; } bool operator==(int x) const { return i == x; } }; |