OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
call3.C
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;