☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.target
/
i386
/
empty-class2.C
☽
☼
gcc/testsuite/g++.target/i386/empty-class2.C
code
plain
raw
1
// PR middle-end/101160
2
// Test passing aligned empty aggregate
3
// { dg-do compile }
4
// { dg-options "-O2" }
5
6
struct S { union {} a; } __attribute__((aligned));
7
8
S
9
foo (S arg)
10
{
11
return arg;
12
}
13
14
void
15
bar (void)
16
{
17
S arg;
18
foo (arg);
19
}