* doc/extend.texi (Loop-Specific Pragmas): Document pragma GCC unroll.
[official-gcc.git] / gcc / testsuite / g++.dg / ext / dllimport11.C
blob6d822be2292a275dffb60f2324c3301da0cf4313
1 // PR target/23589
2 // Template member functions do not get dllimport status of class.
3 // { dg-do compile { target i?86-*-cygwin* i?86-*-mingw* x86_64-*-mingw* } }
5 struct __attribute__((dllimport)) Foo
7   template <class T> Foo (T);
8 };
10 void a (int i)
12   Foo f(i);
15 template <class T>  Foo::Foo (T) {}   // no dllimport warnings on definition.