OSDN Git Service

Squash commit of EH in gimple
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / tree-ssa / pr17153.C
1 /* The alias analyzer was marking RETVAL non-addressable, but RETVAL
2    is a special variable that's available across different functions.  */
3 void foo(const char*);
4
5 struct A {};
6
7 struct B : A
8 {
9     B(){}
10     B bar()
11     {
12         foo(__PRETTY_FUNCTION__);
13         return B();
14     }
15 };
16
17 B b=B().bar();