OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c/49644
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr49644.c
1
/* PR c/49644 */
2
3
extern void abort (void);
4
5
int
6
main ()
7
{
8
_Complex double a[12], *c = a, s = 3.0 + 1.0i;
9
double b[12] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }, *d = b;
10
int i;
11
for (i = 0; i < 6; i++)
12
*c++ = *d++ * s;
13
if (c != a + 6 || d != b + 6)
14
abort ();
15
return 0;
16
}