OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [align2.C] - Blame information for rev 325

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

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/10179
2
 
3
struct __attribute((aligned(__alignof(double)))) A
4
{ /* empty */ };
5
 
6
struct T : public A
7
{
8
  char c;
9
};
10
 
11
template struct StaticAssert;
12
template<> struct StaticAssert {};
13
 
14
StaticAssert<__alignof(T) == __alignof(double)> d;

powered by: WebSVN 2.1.0

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