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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
warning9.C
blob
9423ac1269b6960a285781bc35993243b279c990
1
// { dg-do assemble }
2
// { dg-options "-Wsynth" }
3
4
struct A {
5
operator int ();
6
A& operator= (int); // { dg-warning "" } not used below
7
};
8
9
main()
10
{
11
A a, b;
12
13
a = b; // { dg-warning "" } uses synthesized op=
14
}