2 // Template member functions do not get dllimport status of class.
3 // { dg-do compile { target i?86-*-cygwin* i?86-*-mingw*} }
5 struct __attribute__((dllimport)) Foo
7 template <class T> Foo (T);
15 template <class T> Foo::Foo (T) {} // no dllimport warnings on definition.