repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb76.C
blob
c74e7bd8134adeae974cb289f7570e3e59698a99
1
// { dg-do assemble }
2
// the template operator!= interferes. It should be in a namespace.
3
4
#include <utility>
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
}