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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [misc6.C] - Blame information for rev 749

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

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// { dg-prune-output "note" }
3
// { dg-options "-std=c++98 -pedantic-errors" }
4
 
5
// GROUPS uncaught
6
// Cfront bug A.4 (See Language System Release Notes for the
7
// SPARCompiler C++ version 3.0)
8
 
9
struct assign {
10
  assign& operator = (const assign&);
11
};
12
union U {
13
  assign a;     // { dg-error "" } member of union cannot have op= 9.4// ERROR - .*
14
};

powered by: WebSVN 2.1.0

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