URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [has_nothrow_copy-3.C] - Rev 717
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/36871
// { dg-do run }
#include <cassert>
struct F {
F (const F&) throw () { }
template <class T> F (T) throw () { }
};
int main ()
{
assert (__has_nothrow_copy (F));
}
Go to most recent revision | Compare with Previous | Blame | View Log