preproc_cpp test for testing preprocessor and C++

Move C++ comment testing into here.
See 7a9bf3307f.
This commit is contained in:
William S Fulton 2021-12-22 19:06:00 +00:00
commit 2d76057571
3 changed files with 41 additions and 0 deletions

View file

@ -373,6 +373,7 @@ int methodX(int x) { return x+100; }
/*
Comma in macro - https://github.com/swig/swig/issues/974 (for C comments)
and https://github.com/swig/swig/pull/1166 (for //)
Also see preproc_cpp.i
*/
%inline %{
#define swig__attribute__(x)