repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr46154.C
blob
424b1fad83b4a94964b01d467ee785857e830fd4
1
/* { dg-do compile } */
2
/* { dg-options "-fipa-cp-clone" } */
3
4
struct S
5
{
6
virtual int foo ()
7
{
8
return foo () == 0;
9
}
10
virtual void baz ();
11
};
12
13
void A ()
14
{
15
S s;
16
s.foo ();
17
}