4 // Copyright (C) 2002 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 21 Dec 2002 <nathan@codesourcery.com>
7 // PR 8572. ICE with templated conversion operators.
9 template <typename T> struct A
16 template <typename T> typename A<T>::B *A<T>::Foo ()
21 template <typename T> A<T>::operator typename A<T>::B* () const
29 static_cast <A<int>::B *> (p);