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