blob: 23f338a733ebe2beb0f5f26bedc610e9157af932 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Tests if exception handling still works in the presence of a wrapped C++
// class called »Exception«, which could shadow the built-in Exception class.
%module d_exception_name
%inline %{
class Exception {
Exception(int i) {}
};
class Foo {
~Foo() {}
public:
void bar(Exception *e) {}
};
%}
|