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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
warning9.C
blob
d46ba37650cdd97b80cafc3ac943cc18579f14b2
1
// Special g++ Options: -Wsynth
2
3
struct A {
4
operator int ();
5
A& operator= (int); // WARNING - not used below
6
};
7
8
main()
9
{
10
A a, b;
11
12
a = b; // WARNING - uses synthesized op=
13
}