OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload8.C
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
};