OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [objc.dg/] [encode-7.m] - Blame information for rev 318

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 309 jeremybenn
/* { dg-do run } */
2
/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */
3
 
4
#include <objc/encoding.h>
5
#include <stdlib.h>
6
 
7
struct f
8
{
9
  _Bool a;
10
};
11
 
12
 
13
int main(void)
14
{
15
  if (objc_sizeof_type (@encode (struct f)) != sizeof(struct f))
16
   abort ();
17
  return 0;
18
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.