summaryrefslogtreecommitdiff
path: root/regress/usr.bin/rtld/testlib/ccexc.cc
blob: 48303608ddfa27120dfb0c367f04c83ea0981dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// $NetBSD: ccexc.cc,v 1.1 2000/12/08 19:21:28 drochner Exp $

// generate references to exception handling runtime code

extern "C" void ccexc(void);

void
ccexc(void)
{
	try {
		throw "mist";
	} catch (char *e) {
	}
}