Files
swift-mirror/test/Interpreter/moveonly_swiftskell.swift
Kavon Farvardin 0420310623 NCGenerics: it's no longer "experimental"
resolves rdar://127701059
2024-05-08 10:49:12 -07:00

29 lines
880 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-build-swift \
// RUN: -emit-module-path %t \
// RUN: -enable-library-evolution \
// RUN: -module-name Swiftskell \
// RUN: -parse-as-library \
// RUN: %S/../Inputs/Swiftskell.swift -c -o %t/Swiftskell.o \
// RUN: -enable-experimental-feature NonescapableTypes \
// RUN: -enable-experimental-feature BorrowingSwitch
// RUN: %target-build-swift -o %t/a.out %s -I %t %t/Swiftskell.o
// RUN: %target-codesign %t/a.out
// RUN: %target-run %t/a.out | %FileCheck %s
// REQUIRES: executable_test
// XFAIL: *
/* FIXME: there's a cycle getting triggered somehow (rdar://124117857)
<unknown>:0: error: circular reference
<unknown>:0: note: through reference here
<unknown>:0: error: merge-module command failed with exit code 1 (use -v to see invocation)
*/
import Swiftskell
print("hello, world")
// CHECK: hello, world