minMaxCaseValues.js 643 B

123456789101112131415161718192021222324
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. function test0(){
  6. switch(1) {
  7. case 2147483647:
  8. break;
  9. case 2:
  10. break;
  11. case 1:
  12. break;
  13. case -2147483648:
  14. break;
  15. }
  16. };
  17. // generate profile
  18. test0();
  19. test0();
  20. WScript.Echo("PASSED");