blob: 15bff9a359c1485fdf93ea3870f29abe1bcf1300 [file] [log] [blame]
/* { dg-options "-fgnu-runtime" } */
/* { dg-do run } */
/* 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;
}