using-null-or-undef.js (285B)
1 // |jit-test| skip-if: !getBuildConfiguration("explicit-resource-management"); --enable-explicit-resource-management 2 3 load(libdir + "asserts.js"); 4 5 function doesntThrowOnNullOrUndefinedDisposable() { 6 using a = null; 7 using b = undefined; 8 } 9 doesntThrowOnNullOrUndefinedDisposable();