OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [dllimport11.C] - Blame information for rev 301

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// 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*} }
4
 
5
struct __attribute__((dllimport)) Foo
6
{
7
  template  Foo (T);
8
};
9
 
10
void a (int i)
11
{
12
  Foo f(i);
13
}
14
 
15
template   Foo::Foo (T) {}   // no dllimport warnings on definition.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.