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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
compat
/
struct-complex-2_y.c
blob
54a72fa43f344f197dbb18010846dc90e5ff7a17
1
/* { dg-options "-O -Wno-psabi" } */
2
3
#ifdef __x86_64__
4
#include <stdlib.h>
5
#include
"struct-complex-2.h"
6
7
void
8
bar
(
struct
st x
)
9
{
10
if
(
x
.
s1
!=
1
11
||
__real__ x
.
x
!=
2
||
__imag__ x
.
x
!=
4
)
12
abort
();
13
}
14
15
void
16
foo
(
struct
stc x
)
17
{
18
if
(
x
.
s1
!=
1
||
x
.
x
.
r
!=
2
||
x
.
x
.
i
!=
4
)
19
abort
();
20
}
21
#else
22
int
dummy_y
;
23
#endif