From d5e012f70f7626d3c381666d0112588be883fedf Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Wed, 7 Mar 2018 14:40:28 +1300 Subject: [PATCH] Add test coverage for // comment fix --- Examples/test-suite/preproc.i | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Examples/test-suite/preproc.i b/Examples/test-suite/preproc.i index 1efc0dd98..6d6549be7 100644 --- a/Examples/test-suite/preproc.i +++ b/Examples/test-suite/preproc.i @@ -389,6 +389,20 @@ TCX_PACKED (typedef struct tcxMessageBugImpl { int mBid; /**< Bid price and size, check PresentMap if available in message */ }) tcxMessageBug; + + +TCX_PACKED (typedef struct tcxMessageTestImplSlashSlash +{ + int mHeader; ///< comment +}) tcxMessageTestSlashSlash; + + +TCX_PACKED (typedef struct tcxMessageBugImplSlashSlash +{ + int mBid; ///< Bid price and size, check PresentMap if available in message +}) tcxMessageBugSlashSlash; + + %} // Regression tests for https://github.com/swig/swig/pull/1111