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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [encode-10.m] - Blame information for rev 704

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 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.