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
* config/sparc/driver-sparc.c (cpu_names): Add SPARC-T5 entry.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
operator2.C
blob
4b952bf11eb98a809504531e846eb4482386537f
1
// PR c++/28852
2
// { do-do compile }
3
4
struct A
5
{
6
operator int&(int); // { dg-error "void" }
7
};
8
9
A a;
10
int& i = a; // { dg-error "initialization" }