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++/43856
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype22.C
1
// PR c++/42761
2
// { dg-options "-std=c++0x" }
3
4
template<typename _Tp> _Tp* fn();
5
6
template <class T> struct A
7
{
8
template <class U,
9
class S = decltype(fn<T>())>
10
struct B { };
11
};
12
13
A<int> a;