URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [decltype32.C] - Rev 734
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/50075
// { dg-options -std=c++0x }
template <typename T>
auto make_array(const T& il) -> // { dg-error "not declared" }
decltype(make_array(il))
{ }
int main()
{
int z = make_array(1); // { dg-error "no match" }
}
Go to most recent revision | Compare with Previous | Blame | View Log