swig/Examples/test-suite/cpp0x_constexpr.i
Matevz Jekovec 4946748164 Added test case for explicit conversion operators.
Some cosmetic fixes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-26 22:23:07 +00:00

11 lines
194 B
OpenEdge ABL

/* This interface tests whether Swig supports the new "constexpr" keyword
introduced by C++0x.
*/
%module foo
%inline %{
class TestClass {
constexpr int func() { return 10; }
};
%}