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
/
crash124.C
blob
4931aa8e9c6df55ce8c09e0e8fcb0be89fdca55e
1
// PR c++/50436
2
3
template <bool> struct VI {};
4
template <typename T>
5
struct IP
6
{
7
static const bool r = IP<T>::r; // { dg-error "depth" }
8
};
9
template <typename T>
10
struct V
11
{
12
static const bool r = IP<T>::r;
13
VI<r> vi;
14
};
15
struct X;
16
struct Y
17
{
18
V<X> v; // { dg-message "from here" }
19
}
20
21
// { dg-prune-output "compilation terminated" }