blob: 1420e4bc1a092a9ea541eed06feda8210e8cdcf8 [file] [log] [blame]
/* { dg-options "-fgnu-runtime" } */
/* { dg-do run } */
/* APPLE LOCAL ARM not available on arm-darwin targets */
/* { dg-skip-if "" { arm*-*-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;
}