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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash106.C
blob
8d9726999003514faed477005c6eba87447674fc
1
// PR c++/47974
2
3
typedef double T;
4
5
struct A
6
{
7
template<T> void foo(); // { dg-error "type" }
8
};
9
10
template<T N = 0, void (A::*)() = &A::foo<N> > struct B {}; // { dg-error "type|declared" }
11
12
B<> b; // { dg-message "non-type" }
13
14
// { dg-prune-output "(could not convert|no matches)" }