[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / libcxx / test / std / containers / associative / multiset / scary.pass.cpp
blobfc4efd46edee3bc7da76d29362ae3cff52ce7030
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // <set>
11 // class set class multiset
13 // Extension: SCARY/N2913 iterator compatibility between set and multiset
15 #include <set>
17 #include "test_macros.h"
19 int main(int, char**)
21 typedef std::set<int> M1;
22 typedef std::multiset<int> M2;
23 M2::iterator i;
24 M1::iterator j = i;
25 ((void)j);
27 return 0;