Sign in
llvm
/
llvm-archive
/
67ca873b99b7e631820d261833301c41ad8006b1
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
abi
/
param2.C
blob: ed3c0dff1329ae0966e535b21684de8e3db98f1a [
file
] [
log
] [
blame
]
// PR target/20795
// Test passing aligned empty aggregate
// { dg-do compile }
struct
S
{
union
{}
a
;
}
__attribute__
((
aligned
));
S
foo
(
S arg
)
{
return
arg
;
}
void
bar
(
void
)
{
S arg
;
foo
(
arg
);
}