Various inherited class warning/error line number fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8b31a92f61
commit
b01277a19b
7 changed files with 108 additions and 31 deletions
47
Examples/test-suite/errors/cpp_inherit.i
Normal file
47
Examples/test-suite/errors/cpp_inherit.i
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
%module xxx
|
||||
|
||||
%inline %{
|
||||
struct A5;
|
||||
int A6;
|
||||
template<typename T> struct A7
|
||||
{
|
||||
};
|
||||
template<typename T> struct A8
|
||||
{
|
||||
};
|
||||
|
||||
struct A0
|
||||
:
|
||||
public A1
|
||||
,
|
||||
A2,
|
||||
private A3
|
||||
,
|
||||
private A4
|
||||
,
|
||||
A5
|
||||
,
|
||||
A6
|
||||
,
|
||||
A7<int>
|
||||
,
|
||||
protected A8<double>
|
||||
{
|
||||
};
|
||||
|
||||
struct A1
|
||||
{
|
||||
};
|
||||
|
||||
class B1 {};
|
||||
|
||||
class B0 :
|
||||
B1,
|
||||
B2<int>
|
||||
{
|
||||
};
|
||||
|
||||
struct Recursive : Recursive
|
||||
{
|
||||
};
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue