ormris added a comment.

In https://reviews.llvm.org/D47044#1130339, @NoQ wrote:

> I'm still curious whether this also works:
>
>   void foo() {
>     const A &x = B();
>     bar();
>   }
>  
>   void bar() {
>     for (int i = 0; i < 10; ++i) {}
>   }
>
>
> Though we can land this patch and deal with this later.


@NoQ The above example doesn't crash.


Repository:
  rC Clang

https://reviews.llvm.org/D47044



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to