https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86303

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Comeau might have accepted it in 2010 but EDG rejects it today:

"ap.cc", line 20: error: no instance of constructor "Y::Y" matches the argument
          list
            argument types are: (auto_ptr)
  Y f(foo());
      ^

1 error detected in the compilation of "ap.cc".

Reply via email to