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++.jason
/
overload8.C
blob
3708b21ec6a2bffb0cb3dc6595534a379766f532
1
// { dg-do assemble }
2
// Bug: g++ fails to catch the ambiguity below.
3
4
struct A {
5
operator int () { return 1; };
6
operator int &() { return 1; }; // { dg-error "" }
7
};