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-10.m] - Blame information for rev 310

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

Line No. Rev Author Line
1 309 jeremybenn
/* { dg-do compile } */
2
 
3
typedef struct Vec {
4
 double x, y;
5
 int z;
6
} xyz_t ;
7
 
8
typedef struct {
9
  float fscalar;
10
  double dscalar;
11
  xyz_t dv;
12
  int iscalar;
13
} anonymous;
14
 
15
const char *enc = @encode(xyz_t);
16
const char *enc2 = @encode(anonymous);
17
 
18
/* { dg-final { scan-assembler "{Vec=ddi}" } }  */
19
/* { dg-final { scan-assembler "{?=fd{Vec=ddi}i}" } }  */

powered by: WebSVN 2.1.0

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