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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload8.C
blob
2987ae51ada323e9c78aed96fd1123e4e5aaab4f
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
};