mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The test other-entry-point-function-name needs to be executed to be checked. Some platforms (like Android) do not execute the test in CI (because there's no device attached to the build machines), so the tests need to be marked as executable to be skipped.
12 lines
357 B
Swift
12 lines
357 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-clang -c --language=c %S/Inputs/forward-to-foobar.c -o %t/forward.o
|
|
// RUN: %target-build-swift %s %t/forward.o -Xfrontend -entry-point-function-name -Xfrontend foobar -o %t/main
|
|
// RUN: %target-run %t/main | %FileCheck %s
|
|
|
|
// REQUIRES: executable_test
|
|
|
|
// CHECK: howdy from foobar
|
|
print("howdy from foobar")
|
|
|
|
|