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
Merge from mainline.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
call3.C
blob
bbb6c7b3a2bdc4e7d04dae1759f6006943415c5f
1
// PR c++/18436
2
3
void foo(int);
4
5
struct A
6
{
7
static void foo(A);
8
};
9
10
template <typename T> struct B : T
11
{
12
B() { foo(T()); } // { dg-error "cannot convert" }
13
};
14
15
B<A> b;