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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [ext/] [packed10.C] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/13983, c++/17519
2
// The typedef and the array were causing us to miss that A is
3
// a packed type.
4
 
5
template 
6
struct A {
7
  A();
8
} __attribute__((packed));
9
 
10
typedef A Ai;
11
 
12
struct B {
13
  Ai a[2];
14
} __attribute__((packed));

powered by: WebSVN 2.1.0

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