diff --git a/Examples/test-suite/default_args.i b/Examples/test-suite/default_args.i index cd891148a..579d1592e 100644 --- a/Examples/test-suite/default_args.i +++ b/Examples/test-suite/default_args.i @@ -180,12 +180,6 @@ Klass constructorcall(const Klass& k = Klass()) { return k; } } %} -// const methods -// runtime test needed to check that the const method is called -struct ConstMethods { - int coo(double d = 0.0) const; -}; - %{ struct ConstMethods { int coo(double d = 0.0) { return 10; } @@ -193,6 +187,13 @@ struct ConstMethods { }; %} +// const methods +// runtime test needed to check that the const method is called +struct ConstMethods { + int coo(double d = 0.0) const; +}; + + // Default args with C linkage %inline