swig/Examples/test-suite/cpp0x_thread_local.i
Matevz Jekovec 74d8325cdf Added keyword 'thread_local' to Swig.
Added testcase.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-14 12:05:05 +00:00

11 lines
203 B
OpenEdge ABL

/* This testcase checks whether Swig correctly parses the 'thread_local'
keyword before the member type and name. */
%module cpp0x_thread_local
%inline %{
struct A {
thread_local int val;
};
%}