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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
defarg14.C
blob
352ccc41508fcc0a2334ae89d7a0ca1b701b96b2
1
// PR c++/46129
2
// The default argument for A<int>::B::operator() should not be required
3
4
template <class T>
5
struct A {
6
struct B {
7
void operator () (const T& d_ = f(T()) ) { }
8
};
9
};
10
11
int main() {
12
A<int>::B b;
13
}