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
PR c++/6057
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype14.C
1
// PR c++/37540
2
3
struct A
4
{
5
int g() {return 0;}
6
};
7
8
template <typename T_>
9
void f(A a)
10
{
11
__decltype(a.g()) i;
12
}
13
14
int main()
15
{
16
f<int>(A());
17
}