repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
qualified-id5.C
blob
3126d332de1f83f789d1c27dbd5530d14a52a21f
1
// PR c++/52596
2
3
struct msgpack_zone_finalizer_array {
4
int* tail;
5
};
6
struct msgpack_zone {
7
msgpack_zone_finalizer_array finalizer_array;
8
};
9
struct zone : public msgpack_zone {
10
template <typename T> T* allocate();
11
12
};
13
template <typename T>
14
T* zone::allocate()
15
{
16
--msgpack_zone::finalizer_array.tail;
17
}