OpenCores
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] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* PR c++/25632  */
2
 
3
/* { dg-do compile } */
4
 
5
struct sockaddr_un {
6
    char sun_path[1];
7
};
8
const unsigned SI_SUN_HEAD_LEN = (long)(((struct sockaddr_un *)0)->sun_path);
9
int SiGetPeerName ()
10
{
11
    return SI_SUN_HEAD_LEN;
12
}
13
int SiAccept ()
14
{
15
    return SI_SUN_HEAD_LEN;
16
}
17
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.