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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note I think I might have reduced it too far.
Here is one which at least removes std::string usage:
#include <functional>
struct string1{};
using namespace std;
template<typename ActionType, typename... Cols>
void print_action(function<ActionType*(Cols..., ActionType)> action_factory)
{}
int main(int argc, char *argv[])
{
  print_action<string1, char>(function<string1*(char, string1)>());
  return 0;
}
------ CUT -----
This works on ICC, clang and MSVC.
Still fails on the trunk.

And this is a dup of bug 56190.

*** This bug has been marked as a duplicate of bug 56190 ***

Reply via email to