swig/Examples/test-suite/cpp0x_null_pointer_constant.i
2010-06-26 22:48:49 +00:00

16 lines
244 B
OpenEdge ABL

/* This testcase checks whether SWIG correctly treats the new nullptr_t
constant introduced in C++0x.
*/
%module cpp0x_null_pointer_constant
%inline %{
#include <cstddef>
class A {
public:
A() : _myA(std::nullptr) { }
A *_myA;
};
%}