3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 9 Dec 2001 <nathan@nathan@codesourcery.com>
8 template <typename T> struct A
13 template <typename T> struct B
15 typedef int xxx; // { dg-message "" }
16 typedef T xxx; // { dg-error "" }
17 typedef typename A<T>::type xxx; // { dg-error "" }
18 typedef A<int>::type xxx; // { dg-error "" }