repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
abi
/
param1.C
blob
c438a19400e0fc82e154a30ef9625d2ffcfbd1db
1
// { dg-do run }
2
//
3
4
// Failed on powerpc64-linux for structure sizes > 64 and with size not a
5
// multiple of 8 after padding.
6
struct object
7
{
8
int i1;
9
char s1[60];
10
int i2;
11
char s2[64];
12
};
13
14
extern int subr (struct object obj);
15
16
int main ()
17
{
18
struct object obj;
19
20
obj.i1 = 1234;
21
obj.i2 = 5678;
22
return subr (obj);
23
}
24
25
int subr (struct object obj)
26
{
27
return obj.i1 != 1234 || obj.i2 != 5678;
28
}