repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
dependent-args1.C
blob
0b197cf555e92326239f68e2a10b3b57904aed13
1
// PR c++/27582
2
// { dg-do compile }
3
4
struct A
5
{
6
template<int> void foo();
7
};
8
9
template<int N, void (A::*)() = &A::foo<N> > struct B {};
10
11
B<int> b; // { dg-error "type/value mismatch|expected a constant|invalid type" }