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
Fix warnings occured during profiledboostrap on
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
return3.C
blob
6627fd1691192f9c4d2daabc0144c8cde0190aa7
1
// { dg-do run }
2
// PRMS id: 10912
3
4
struct A {
5
A() { i=10; }
6
int i;
7
};
8
struct B : public A {};
9
B b;
10
11
A f()
12
{
13
return b;
14
}
15
16
int main ()
17
{
18
A a = f ();
19
return a.i != 10;
20
}