Merge pull request #4931 from kumpera/com-interop-fix
[mono.git] / mcs / tests / test-async-22.cs
index ca6e1faf90c65423529f93a7fb11be1d694ed35c..e715d1a4598cd3d4fe5d26a5e90624e99bd2f113 100644 (file)
@@ -174,4 +174,13 @@ namespace AwaitNS
                        var l = await.Length;                   
                }
        }
+
+       class TypeChecks
+       {
+               static void M (object await)
+               {
+                       var b = await is Exception; 
+                       var c = await as Exception;
+               }
+       }
 }