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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype35.C
blob
daffaf0306e135d02c18a89dd6b3676350d2110a
1
// PR c++/50870
2
// { dg-do compile { target c++11 } }
3
4
template <class V>
5
struct impl
6
{
7
template <class T> static T create();
8
};
9
10
template <class T, class U, class V, class
11
= decltype(impl<V>::template create<T>()
12
-> impl<V>::template create<U>())>
13
struct tester { };
14
15
tester<impl<float>*, int, float> ti;