repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[gcc.git]
/
libstdc++-v3
/
testsuite
/
23_containers
/
priority_queue
/
lwg3529.cc
blob
014b5aa0f350ab294a37daf1b5688e09cb5e9ab7
1
// { dg-do compile { target c++11 } }
2
3
#include <queue>
4
5
struct
C
:
std
::
vector
<
int
>
6
{
7
C
(
int
*,
int
*) { }
8
};
9
10
int
i
;
11
12
// LWG 3529. priority_queue(first, last) should construct c with (first, last)
13
std
::
priority_queue
<
int
,
C
>
q
(&
i
, &
i
);