URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr23056.C] - Rev 604
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/23056
// { dg-do compile }
template <bool T> struct S { virtual ~S(); };
void foo ()
{
static_cast<bool>("Foo");
}
S<true> a;
Go to most recent revision | Compare with Previous | Blame | View Log