Commit ae232e45 by Mark Mitchell Committed by Mark Mitchell

visibility-8.C: Add constructor and destructor tests.

	* g++.dg/ext/visibility/visibility-8.C: Add constructor and
	destructor tests.

From-SVN: r85623
parent 9ddfe26e
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-require-visiblity.
* g++.dg/ext/visibility/fvisibility-inlines-hidden.C: Likewise.
......
......@@ -6,6 +6,11 @@
// { 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" } }
......@@ -28,11 +33,17 @@ __declspec(dllexport) void h();
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() {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment