URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [bool4.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// Test for allowing conversion to bool.
struct A { };
int main ()
{
bool b = (void*)0;
b = (int A::*)0;
b = (int (A::*)())0;
}
Go to most recent revision | Compare with Previous | Blame | View Log