blob: 685eaa2ba3120e5e65e15862d356a099fcf1069f [file] [log] [blame]
// RUN: %target-swift-frontend -emit-sil %s -enable-objc-interop -import-objc-header %S/Inputs/const_and_pure.h | %FileCheck %s
func testit() {
const_function()
pure_function()
normal_function()
}
// CHECK: sil [serializable] [readnone] [clang const_function] @const_function : $@convention(c) () -> ()
// CHECK: sil [serializable] [readonly] [clang pure_function] @pure_function : $@convention(c) () -> ()
// CHECK: sil [serializable] [clang normal_function] @normal_function : $@convention(c) () -> ()