alias-decl-32.C: Remove redundant bits.
2013-03-13 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/cpp0x/alias-decl-32.C: Remove redundant bits. From-SVN: r196633
This commit is contained in:
parent
c40eced02b
commit
c79c6ca64a
@ -1,3 +1,7 @@
|
||||
2013-03-13 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* g++.dg/cpp0x/alias-decl-32.C: Remove redundant bits.
|
||||
|
||||
2013-03-13 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/56608
|
||||
|
@ -8,11 +8,6 @@ template<class T> T declval() { return T(); }
|
||||
int f(int, int){return 0;}
|
||||
struct Func{};
|
||||
|
||||
template<class... Args> struct result1
|
||||
{
|
||||
typedef decltype(f(declval<typename remove_reference<Args>::type>()...)) type;
|
||||
};
|
||||
|
||||
template<class... Args> using result2
|
||||
= decltype(f(declval<typename remove_reference<Args>::type>()...));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user