Commit c3491173 by Nathan Sidwell Committed by Nathan Sidwell

* g++.old-deja/g++.pt/typename27.C: New test.

From-SVN: r35776
parent 66081283
2000-08-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/typename27.C: New test.
2000-08-17 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash44.C: Remove XFAIL. Add ERROR.
......
// Build don't link:
//
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 9 Aug 2000 <nathan@codesourcery.com>
// bugs 173, 174 & 406 all ICE'd due to Koenig lookup involving
// typename T::t.
struct A
{
typedef int type;
};
template<typename T> void same_key (T, typename T::type);
template <class T> void foo (T *, void (*) (T, int));
void baz (A *ptr)
{
foo (ptr, same_key);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment