URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [other/] [pr25632.C] - Rev 844
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR c++/25632 */
/* { dg-do compile } */
struct sockaddr_un {
char sun_path[1];
};
const unsigned SI_SUN_HEAD_LEN = (long)(((struct sockaddr_un *)0)->sun_path);
int SiGetPeerName ()
{
return SI_SUN_HEAD_LEN;
}
int SiAccept ()
{
return SI_SUN_HEAD_LEN;
}
Go to most recent revision | Compare with Previous | Blame | View Log