repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
conv11.C
blob
57d06af3ee75ed89115a1d5e567b06ed83f116e9
1
int i;
2
struct A
3
{
4
template <class T> operator T&() { return i; } // { dg-message "note" }
5
};
6
7
int main()
8
{
9
A().operator int(); // { dg-error "operator int" }
10
// { dg-message "candidate" "candidate note" { target *-*-* } 9 }
11
}