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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr71169-2.C
blob
fa29e95d5d28bb208c51300e4c86628999419dc2
1
// { dg-do compile { target c++11 } }
2
3
template <Preconditioner> class A { // { dg-error "declared" }
4
template <class = int> void m_fn1() {
5
m_fn1();
6
}
7
};
8
9
template<typename>
10
struct B
11
{
12
int f(int = 0) { return 0; }
13
};
14
15
int main()
16
{
17
B<int> b;
18
return b.f();
19
}