blob: 8bdc00dcbb3c9b0085c51ee74908f206b7c0d596 [file] [log] [blame]
/* { dg-options "-fgnu-runtime" } */
/* { dg-do run } */
/* APPLE LOCAL ARM not available on arm-darwin targets */
/* { dg-skip-if "" { arm*-*-darwin* } { "*" } { "" } } */
/* LLVM LOCAL */
/* { dg-xfail-if "" { *-*-darwin* } { "*" } { "" } } */
#include <objc/encoding.h>
#include <stdlib.h>
struct f
{
_Bool a;
};
int main(void)
{
if (objc_sizeof_type (@encode (struct f)) != sizeof(struct f))
abort ();
return 0;
}