git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
17 lines
299 B
C#
17 lines
299 B
C#
using System;
|
|
using System.Threading;
|
|
using operator_overloadNamespace;
|
|
|
|
public class runme
|
|
{
|
|
static void Main()
|
|
{
|
|
Op op = new Op(100);
|
|
op++;
|
|
if (op.i != 101) throw new Exception("operator++ failed");
|
|
op--;
|
|
if (op.i != 100) throw new Exception("operator-- failed");
|
|
}
|
|
}
|
|
|
|
|