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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [bitfield3.C] - Blame information for rev 720

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/33841
2
// { dg-do compile }
3
 
4
template struct A
5
{
6
  // multiple errors below: missing semicolon, no anonymous structs, etc.
7
  struct {} : 2;        // { dg-error "" }
8
};
9
 
10
template struct B
11
{
12
  int a;
13
  // multiple errors below: missing semicolon, no anonymous structs, etc.
14
  struct {} : 2;        // { dg-error "" }
15
  int b;
16
};
17
 
18
struct C : A<0> {};
19
struct D : B<0> {};

powered by: WebSVN 2.1.0

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