summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/compute/dynamic-dispatch-2.slang2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/compute/dynamic-dispatch-2.slang b/tests/compute/dynamic-dispatch-2.slang
index ade8aeb84..6b8b0e633 100644
--- a/tests/compute/dynamic-dispatch-2.slang
+++ b/tests/compute/dynamic-dispatch-2.slang
@@ -12,7 +12,6 @@ interface IInterface
{
associatedtype Assoc : IAssoc;
int Compute(int inVal);
- Assoc getAssoc();
};
int GenericCompute<T:IInterface>(T obj, int inVal)
@@ -30,7 +29,6 @@ struct Impl : IInterface
};
int base;
int Compute(int inVal) { return base + inVal * inVal; }
- Assoc getAssoc() { Assoc rs; rs.val = 1; return rs; }
};
int test(int inVal)