URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [decltype31.C] - Rev 734
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/49921
// { dg-options -std=c++0x }
struct Local
{
void f();
};
Local *l;
void (Local::*ptr)();
decltype((l->*ptr)) i; // { dg-error "member function" }
// { dg-prune-output "invalid type in declaration" }
Go to most recent revision | Compare with Previous | Blame | View Log