blob: ac52bc3e463de81df112e0617a4f876cf7e623e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// PRMS id: 10912
struct A {
A() { i=10; };
int i;
};
struct B : public A {};
B b;
A f()
{
return b;
}
int main ()
{
A a = f ();
return a.i != 10;
}
|