mirror of https://github.com/swig/swig
Renamed 'template' test-case to 'template_basic'.
This is a part of the pending merge of the D module, where 'template' is a keyword (and thus not a valid module name). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ee1c2f3ef0
commit
0fb77ce206
|
@ -318,11 +318,11 @@ CPP_TEST_CASES += \
|
|||
struct_initialization_cpp \
|
||||
struct_value \
|
||||
symbol_clash \
|
||||
template \
|
||||
template_arg_replace \
|
||||
template_arg_scope \
|
||||
template_arg_typename \
|
||||
template_array_numeric \
|
||||
template_basic \
|
||||
template_base_template \
|
||||
template_classes \
|
||||
template_const_ref \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* File : example.i */
|
||||
%module "template"
|
||||
/* File: template_basic.i */
|
||||
%module "template_basic"
|
||||
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) vector<int>; /* Ruby, wrong class name */
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) vector<double>; /* Ruby, wrong class name */
|
||||
|
@ -31,7 +31,7 @@ template<class T> class vector {
|
|||
void set(int index, T &val) {
|
||||
v[index] = val;
|
||||
}
|
||||
// This really doesn't do anything except test const handling
|
||||
// This really doesn't do anything except test const handling
|
||||
void testconst(const T x) { }
|
||||
};
|
||||
|
Loading…
Reference in New Issue