URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [decltype-1212.C] - Rev 705
Go to most recent revision | Compare with Previous | Blame | View Log
// Core 1212
// { dg-options -std=c++0x }
template <class T, class U> struct assert_same_type;
template <class T> struct assert_same_type<T,T> {};
int main()
{
int i;
assert_same_type<int&&,decltype(static_cast<int&&>(i))>();
}
Go to most recent revision | Compare with Previous | Blame | View Log