Files
swift-mirror/test/Profiler/coverage_dead_code_elim.swift

7 lines
298 B
Swift

// RUN: %target-swift-frontend %s -profile-generate -profile-coverage-mapping -O -whole-module-optimization -emit-ir -o - | %FileCheck %s
// RUN: %target-swift-frontend -profile-generate -profile-coverage-mapping -emit-ir %s
// CHECK-NOT: llvm_coverage_mapping = internal constant
func foo() {}