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
* treelang/compile/var_defs.tree: Adjust.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.bob
/
packed1.C
1
// { dg-do run }
2
int
3
main() {
4
struct s
5
{
6
int a;
7
short b;
8
} __attribute__((packed)) t;
9
10
if (sizeof (t) != (sizeof(int)+sizeof(short)))
11
{
12
return 1;
13
}
14
else
15
{
16
return 0;
17
}
18
}