mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
9 lines
270 B
Swift
9 lines
270 B
Swift
// RUN: rm -rf %t
|
|
// RUN: mkdir %t
|
|
// RUN: %target-swift-frontend %s -emit-module -parse-as-library -o %t
|
|
// RUN: %target-sil-opt %t/semantics.swiftmodule -o - | FileCheck %s
|
|
|
|
//CHECK: @_semantics("crazy") func foo()
|
|
@_semantics("crazy") func foo() -> Int { return 5}
|
|
|