2007-03-01 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / gcc / testsuite / objc.dg / encode-7.m
blob0b49a415c291d891f1b47d2cbb093de79b351d02
1 /* { dg-options "-fgnu-runtime" } */
2 /* { dg-do run } */
4 #include <objc/encoding.h>
5 #include <stdlib.h>
7 struct f
9   _Bool a;
13 int main(void)
15   if (objc_sizeof_type (@encode (struct f)) != sizeof(struct f))
16    abort ();
17   return 0;