repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr25632.C
blob
a8884f6fc81d7312b5d67eab8ca3122021840070
1
/* 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