blob: 9c412535e5e9bf7b4827d4c235a49b097ff17193 [file] [log] [blame]
// REQUIRES: OS=macosx
// RUN: %empty-directory(%t)
// RUN: %target-swiftc_driver -o %t/main -module-name main -stats-output-dir %t %s
// RUN: %{python} %utils/process-stats-dir.py --set-csv-baseline %t/frontend.csv %t
// RUN: %FileCheck -input-file %t/frontend.csv %s
//
// Note: this may be zero if we're on a machine with no hardware counters (eg. a VM)
// CHECK: {{"Frontend.NumInstructionsExecuted" [0-9]*$}}
public func foo() {
print("hello")
}