mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
16 lines
553 B
Swift
16 lines
553 B
Swift
// REQUIRES: OS=ios
|
|
// REQUIRES: objc_interop
|
|
|
|
// RUN: %target-swift-frontend -Xllvm -sil-full-demangle -profile-generate -profile-coverage-mapping -emit-sil -module-name coverage_uikit %s | %FileCheck %s
|
|
// RUN: %target-swift-frontend -profile-generate -profile-coverage-mapping -emit-ir %s
|
|
|
|
import UIKit
|
|
|
|
class ViewController: UIViewController {
|
|
// CHECK-LABEL: sil_coverage_map {{.*}}// coverage_uikit.ViewController.viewDidLoad() -> ()
|
|
// CHECK-NEXT: [[@LINE+1]]:31 -> [[@LINE+3]]:4 : 0
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
}
|
|
}
|