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/] [g++.dg/] [cpp0x/] [rv8p.C] - Diff between revs 301 and 378

Show entire file | Details | Blame | View Log

Rev 301 Rev 378
Line 6... Line 6...
// { dg-options "-std=c++0x" }
// { dg-options "-std=c++0x" }
 
 
template  struct sa;
template  struct sa;
template <> struct sa {};
template <> struct sa {};
 
 
struct one   {char x[1];};
struct one   {long x[1];};
struct two   {char x[2];};
struct two   {long x[2];};
struct three {char x[3];};
struct three {long x[3];};
struct four  {char x[4];};
struct four  {long x[4];};
struct five  {char x[5];};
struct five  {long x[5];};
struct six   {char x[6];};
struct six   {long x[6];};
struct seven {char x[7];};
struct seven {long x[7];};
struct eight {char x[8];};
struct eight {long x[8];};
 
 
struct A
struct A
{
{
    A();
    A();
    A(const volatile A&&);
    A(const volatile A&&);
Line 43... Line 43...
{
{
                   A a;
                   A a;
    const          A ca = a;
    const          A ca = a;
          volatile A va;
          volatile A va;
    const volatile A cva = a;
    const volatile A cva = a;
    sa t1;
    sa t1;
    sa t2;
    sa t2;
    sa t3;
    sa t3;
    sa t4;
    sa t4;
    sa t5;
    sa t5;
    sa t6;
    sa t6;
    sa t7;
    sa t7;
    sa t8;
    sa t8;
    return 0;
    return 0;
}
}
 
 
int main()
int main()
{
{

powered by: WebSVN 2.1.0

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