Files
ANSLibs/swig-4.3.0/Examples/test-suite/errors/cpp_class_definition.i

41 lines
478 B
OpenEdge ABL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
%module xxx
namespace OtherSpace {
struct L;
}
namespace Space11 {
namespace SubSpace11 {
using OtherSpace::L;
struct L {
void ll();
};
}
}
namespace Space1 {
struct A;
}
namespace Space2 {
struct Space1::A {
void x();
};
}
namespace Space2 {
struct B;
}
struct ::Space2::B {
int val;
B() : val() {}
};
struct XX;
// g++: error: global qualification of class name is invalid before { token
struct ::XX {
int vvv;
};