3 This test should produce no warnings at all.
5 It just show the cases where swig was showing unintended warnings
8 Right now the test includes some cases for python, java and csharp.
12 /* activate all the name warnings */
13 %warnfilter(+SWIGWARN_PARSE_KEYWORD,+SWIGWARN_PARSE_BUILTIN_NAME,-SWIGWARN_TYPE_ABSTRACT);
21 class string; // csharp keyword
30 class complex; // python built-in
32 typedef complex None; // python built-in
38 #ifndef SWIGPHP // clone() *is* an invalid method name in PHP.
39 A* clone(int) { return NULL; }
43 virtual int func() = 0;
45 typedef complex False;
49 T max (T a, T b) { // python 'max' built-in
61 %template(max_i) max<int>;
64 /* silently rename the parameter names in csharp/java */
66 double foo(double inparam, double out) { return 1.0; }
68 double foo(double abstract, double out) { return 1.0; }
70 double bar(double native, bool boolean) { return 1.0; }