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
/
crash123.C
blob
20a49619c6fcf1d5fb9fc23e304c17960b2657c1
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> struct V
10
{
11
VI<IP<T>::r> vi;
12
};
13
struct X;
14
struct Y
15
{
16
V<X> v; // { dg-message "from here" }
17
};
18
19
// { dg-prune-output "compilation terminated" }