Sign in
gnu
/
gcc
/
master
/
.
/
libstdc++-v3
/
testsuite
/
23_containers
/
priority_queue
/
lwg3529.cc
blob: 014b5aa0f350ab294a37daf1b5688e09cb5e9ab7 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
#include
<queue>
struct
C
:
std
::
vector
<int>
{
C
(
int
*,
int
*)
{
}
};
int
i
;
// LWG 3529. priority_queue(first, last) should construct c with (first, last)
std
::
priority_queue
<
int
,
C
>
q
(&
i
,
&
i
);