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
* gcc.c-torture/execute/960321-1.x: Remove.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20011121-1.c
1
struct s
2
{
3
int i[18];
4
char f;
5
char b[2];
6
};
7
8
struct s s1;
9
10
int
11
main()
12
{
13
struct s s2;
14
s2.b[0] = 100;
15
__builtin_memcpy(&s2, &s1, ((unsigned int) &((struct s *)0)->b));
16
if (s2.b[0] != 100)
17
abort();
18
exit(0);
19
}