Merge pull request #5428 from kumpera/wasm-support-p2
[mono.git] / mcs / tests / test-ex-filter-01.cs
index 125df606019536e6f5ceb8631d3f5c7cb4da3c23..c01c35c8fd86c468ff7fb4d93397a9099f9c0714 100644 (file)
@@ -7,7 +7,7 @@ class X
                int x = 4;
                try {
                        throw null;
-               } catch (NullReferenceException) if (x > 0) {
+               } catch (NullReferenceException) when (x > 0) {
                        Console.WriteLine ("catch");
                        return 0;
                }