Files
swift-mirror/validation-test/test-runner/AbortIsFailure.swift
Arnold Schwaighofer 4d4329b0e0 Add executable_test to the validation test suite
Swift SVN r29278
2015-06-03 23:28:43 +00:00

18 lines
323 B
Swift

// RUN: %target-build-swift -module-name a %s -o %t.out
// RUN: %target-run %t.out
// REQUIRES: executable_test
// This test isn't temporarily disabled; it actually should terminate with a
// non-zero exit code.
//
// XFAIL: *
//
// Check that terminating with abort() counts as test failure.
//
import Darwin
abort()