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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.robertl/] [eb76.C] - Blame information for rev 841

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
// the template operator!= interferes.  It should be in a namespace.
3
 
4
#include 
5
 
6
enum T {
7
  V1
8
};
9
 
10
struct X {
11
  T      t : 31;
12
};
13
 
14
void
15
f(X& v) {
16
  if( v.t != V1 ) {             // complains about taking address of bitfield
17
  }
18
}

powered by: WebSVN 2.1.0

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