OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* c-c++-common/raw-string-1.c: Combine C and C++ raw string tests.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
dllexport3.C
1
// 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
}