/* { 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; | |
} |