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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [base1.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
 
3
// Copyright (C) 2000 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 25 Nov 2000 
5
 
6
// We lost information about which base wasn't an aggregate type.
7
 
8
typedef int I;
9
typedef int cI;
10
 
11
struct A {};
12
 
13
typedef const A cA;
14
typedef A pA;
15
 
16
struct B : I {};  // { dg-error "" } not an aggregate
17
struct C : cI {}; // { dg-error "" } not an aggregate
18
struct D : cA {}; // cv-qualified is fine per DR 484
19
struct E : pA {};

powered by: WebSVN 2.1.0

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