Added testcase cpp0x_initializer_list. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
13 lines
244 B
OpenEdge ABL
13 lines
244 B
OpenEdge ABL
/* This testcase checks whether Swig correctly uses the new initializer_list
|
|
introduced in C++0x. */
|
|
%module cpp0x_initializer_list
|
|
|
|
%inline %{
|
|
#include <initializer_list>
|
|
|
|
class A {
|
|
public:
|
|
A( std::initializer_list<int, int> ) {}
|
|
};
|
|
%}
|
|
|