+2004-08-05 Mark Mitchell <mark@codesourcery.com>
+
+ * g++.dg/ext/visibility/visibility-8.C: Add constructor and
+ destructor tests.
+
2004-08-05 Mark Mitchell <mark@codesourcery.com>
* g++.dg/ext/visibility/assign1.C: Use scan-hidden and
// { dg-final { scan-not-hidden "_ZN1A1fEv" } }
// { dg-final { scan-not-hidden "_Z1gv" } }
// { dg-final { scan-not-hidden "_Z1hv" } }
+// { dg-final { scan-not-hidden "_ZN1BC1Ev" } }
+// { dg-final { scan-not-hidden "_ZN1BC2Ev" } }
+// { dg-final { scan-not-hidden "_ZN1BD0Ev" } }
+// { dg-final { scan-not-hidden "_ZN1BD1Ev" } }
+// { dg-final { scan-not-hidden "_ZN1BD2Ev" } }
// { dg-final { scan-not-hidden "_ZN1B1iEv" } }
// { dg-final { scan-not-hidden "_ZN1B1jEv" } }
// { dg-final { scan-not-hidden "_ZN1A1a" } }
void h() {}
struct B {
+ B();
+ __declspec(dllexport) virtual ~B();
void i();
__declspec(dllexport) void j();
__declspec(dllexport) static int b;
};
+__declspec(dllexport) B::B() {}
+
+B::~B() {}
+
__declspec(dllexport) void B::i() {}
void B::j() {}