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
* c-common.c (catenate_strings): New.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
return3.C
blob
4e60e39a0a99291d4108b2944b7dc884beccea75
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
}