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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [dllexport3.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/42870
2
// { dg-do compile { target i?86-*-cygwin *-*-mingw* } }
3
// { dg-final { scan-assembler "-export:\[\\\\\"\]*_ZN2SaD1Ev" } }
4
 
5
#define ATTRIBUTE __attribute__ ((dllexport))
6
class ATTRIBUTE Sa {
7
 public:
8
  Sa()
9
    {}
10
  ~Sa();
11
};
12
ATTRIBUTE Sa::~Sa()
13
{return;}
14
 
15
bool DllMain(void *a,void*b,int)
16
{
17
  Sa s;
18
  return true;
19
}

powered by: WebSVN 2.1.0

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