------- Comment #16 from bkoz at gcc dot gnu dot org  2005-12-13 20:27 -------
Two extra fails with both versioning and debug associations active.

FAIL: 20_util/memory/16505.cc (test for excess errors)
FAIL: 25_algorithms/search_n/11400.cc (test for excess errors)

For the first:

#include <memory>

// libstdc++/16505

struct S { };

template
  void
  std::uninitialized_fill_n<S*, int, S>(S*, int, const S&);

gives:
/mnt/hd/src/gcc.versioned/libstdc++-v3/testsuite/20_util/memory/16505.cc:31:
error: 'void std::uninitialized_fill_n(S*, int, const S&)' should have been
declared inside 'std'


and for the second:
#include <algorithm>
#include <functional>

struct Integral { operator int() const; };

namespace std
{
  template int* search_n (int*, int*, Integral, const int&);
  template int* search_n (int*, int*, Integral, const int&, greater<int>);
}


gives:
/mnt/hd/src/gcc.versioned/libstdc++-v3/testsuite/25_algorithms/search_n/11400.cc:30:
error: 'search_n' is not a template function

Still testing out the other configs. I'll put reduced test cases in bugzilla.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24660

Reply via email to