~ubuntu-branches/ubuntu/warty/swig1.3/warty

« back to all changes in this revision

Viewing changes to Examples/test-suite/explicit.i

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Landschoff
  • Date: 2002-03-29 01:56:07 UTC
  • Revision ID: james.westby@ubuntu.com-20020329015607-c0wt03xu8oy9ioj7
Tags: upstream-1.3.11
ImportĀ upstreamĀ versionĀ 1.3.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Swig 1.3.6 fails to understand the "explicit" keyword.
 
2
   SF Bug #445233, reported by Krzysztof Kozminski
 
3
   <kozminski@users.sf.net>. 
 
4
*/
 
5
 
 
6
%module test
 
7
 
 
8
%inline %{
 
9
 
 
10
class A {
 
11
  public:
 
12
    explicit A(int) {};
 
13
};
 
14
 
 
15
%}