repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
gnu-encoding
/
struct-layout-1_test.h
blob
3463bb912a483eb72d779ebb32a4ad49dbbd8d6f
1
#include
"struct-layout-1.h"
2
3
#define TX(n, type, attrs, fields, ops) \
4
type S##n { fields } attrs; \
5
void test##n (void) \
6
{ \
7
if (objc_sizeof_type (@encoding (type S##n)) != sizeof(type S##n)) \
8
fails ++; \
9
}