URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [is_literal_type1.C] - Rev 700
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/48771
// { dg-do compile }
// { dg-options "-std=c++0x" }
struct NonLiteral {
NonLiteral();
~NonLiteral();
};
static_assert(__is_literal_type(NonLiteral&), "Error");
static_assert(__is_literal_type(NonLiteral&&), "Error");
Go to most recent revision | Compare with Previous | Blame | View Log