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
gcc:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
conv11.C
1
int i;
2
struct A
3
{
4
template <class T> operator T&() { return i; } // { dg-message "candidate" }
5
};
6
7
int main()
8
{
9
A().operator int(); // { dg-error "operator int" }
10
}