summaryrefslogtreecommitdiffstats
path: root/tests/compute/dynamic-dispatch-2.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/dynamic-dispatch-2.slang')
-rw-r--r--tests/compute/dynamic-dispatch-2.slang3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/compute/dynamic-dispatch-2.slang b/tests/compute/dynamic-dispatch-2.slang
index 708504eeb..e5e4c3336 100644
--- a/tests/compute/dynamic-dispatch-2.slang
+++ b/tests/compute/dynamic-dispatch-2.slang
@@ -4,11 +4,14 @@
// Test dynamic dispatch code gen for static member functions
// of associated type.
+[anyValueSize(8)]
interface IAssoc
{
int get();
static int getBase();
}
+
+[anyValueSize(16)]
interface IInterface
{
associatedtype Assoc : IAssoc;