diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/compute/dynamic-dispatch-13.slang | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/compute/dynamic-dispatch-13.slang b/tests/compute/dynamic-dispatch-13.slang index 4e523e483..3c6c37691 100644 --- a/tests/compute/dynamic-dispatch-13.slang +++ b/tests/compute/dynamic-dispatch-13.slang @@ -43,3 +43,11 @@ public struct MyImpl : IInterface return input + val; } }; +public struct MyImpl2 : IInterface +{ + int val; + int run(int input) + { + return input - val; + } +}; |
