repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge trunk version 201119 into gupc branch.
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
encode-7.m
blob
0cea9356b71e7a992d386e32753c009c0ad88fcb
1
/* { dg-do run } */
2
/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */
3
4
#include <objc/runtime.h>
5
#include <stdlib.h>
6
7
struct f
8
{
9
_Bool a;
10
};
11
12
13
int main(void)
14
{
15
if (objc_sizeof_type (@encode (struct f)) != sizeof(struct f))
16
abort ();
17
return 0;
18
}