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 middle-end/35456
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20040411-1.c
1
int
2
sub1 (int i, int j)
3
{
4
typedef int c[i+2];
5
int x[10], y[10];
6
7
if (j == 2)
8
{
9
memcpy (x, y, 10 * sizeof (int));
10
return sizeof (c);
11
}
12
else
13
return sizeof (c) * 3;
14
}
15
16
int
17
main ()
18
{
19
if (sub1 (20, 3) != 66 * sizeof (int))
20
abort ();
21
22
return 0;
23
}