3 // Copyright (C) 2002 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 24 Dec 2002 <nathan@codesourcery.com>
5 // Source Martin Buchholz martin@xemacs.org
7 // PR 9053. Failed to consider templates that are disambiguated by
10 template <typename T> class bar;
11 template <> struct bar<const char*> { typedef void type; };
12 template <typename T> class qux;
13 template <> struct qux<int> { typedef void type; };
16 typename bar<T>::type foo (T t) { }
19 typename qux<T>::type foo (T t) { }
23 main (int argc, char *argv[])