Files
swift-mirror/test/SILGen/other-entry-point-function-name.swift
Daniel Rodríguez Troitiño 2b996fc85b [android][test] Mark other-entry-point-function-name as executable.
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.
2021-01-27 17:37:09 -08:00

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")