blob: 6500a5029b6aff4e15cf6b45a5008f9dc924c7e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* { dg-do run } */
/* { dg-options "-O2" } */
void abort (void);
struct S2848
{
unsigned int a;
_Complex int b;
};
struct S2848 s2848;
void __attribute__((noinline))
check2848 (struct S2848 arg0)
{
if (arg0.b != s2848.b)
abort ();
}
int main()
{
s2848.a = 4027477739U;
s2848.b = (723419448 + -218144346 * __extension__ 1i);
check2848 (s2848);
return 0;
}
|