unreachable.wast 544 B

12345678910
  1. ;;-------------------------------------------------------------------------------------------------------
  2. ;; Copyright (C) Microsoft Corporation and contributors. All rights reserved.
  3. ;; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. ;;-------------------------------------------------------------------------------------------------------
  5. (module
  6. (func (export "test_unreachable") (result i32) (unreachable) (i32.const 1))
  7. )
  8. (assert_return (invoke "test_unreachable") (i32.const 1))