blob: 85ce1325876baf1fc95a8f8c7986325f003d49df [file] [log] [blame]
// RUN: %empty-directory(%t) && not %target-swift-frontend -c -update-code -primary-file %s -emit-migrated-file-path %t/pre_fixit_pass.swift.result -o /dev/null
// We shouldn't be able to successfully use the pre-fix-it passes to
// fix this file before migration because there is a use of an
// unresolved identifier 'bar'.
func foo(s: String) {}
foo("Hello")
bar("Hello") // Unresolved failure