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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [prepost2.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
// GROUPS passed initialization
3
class foo {
4
public:
5
      operator ++ (); // { dg-error "" } no type or storage class
6
      operator ++ (int); // { dg-error "" } no type or storage class
7
      operator ++ (char);               // illegal// { dg-error "" } .*
8
      operator ++ (short);              // illegal// { dg-error "" } .*
9
      operator ++ (long);               // illegal// { dg-error "" } .*
10
};

powered by: WebSVN 2.1.0

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