[Wasm] Diagnostic test: dynamic type is unsupported

Validates the fix for KT-56711
This commit is contained in:
Svyatoslav Kuzmich
2023-02-16 15:57:06 +01:00
committed by Space Team
parent c9e71985da
commit 83ba1ac0f7
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,8 @@
val foo: <!UNSUPPORTED!>dynamic<!> = 1
fun foo(x: <!UNSUPPORTED!>dynamic<!>): <!UNSUPPORTED!>dynamic<!> {
class C {
val foo: <!UNSUPPORTED!>dynamic<!> = 1
}
return x + C().foo
}