diff options
Diffstat (limited to 'libstdc++-v3/testsuite/23_containers/multiset/48101_neg.cc')
-rw-r--r-- | libstdc++-v3/testsuite/23_containers/multiset/48101_neg.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/multiset/48101_neg.cc b/libstdc++-v3/testsuite/23_containers/multiset/48101_neg.cc index b815f86219b..a6e271f2ab0 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/48101_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/48101_neg.cc @@ -23,9 +23,12 @@ void test01() { std::multiset<const int> c; // { dg-error "here" } - std::multiset<int, std::less<long*>> c2; // { dg-error "here" } + std::multiset<int, std::less<long*>> c2; + c2.find(2); // { dg-error "here" } } // { dg-error "non-const, non-volatile value_type" "" { target *-*-* } 0 } // { dg-error "comparison object must be invocable" "" { target *-*-* } 0 } // { dg-prune-output "std::allocator<.* has no member named " } +// { dg-prune-output "no match for call" } +// { dg-prune-output "invalid conversion" } |