blob: 3f385dada636568335dcbf971d9be827ef27624a [file] [log] [blame]
// RUN: mkdir -p %t
// RUN: %utils/split_file.py -o %t %s
// RUN: %target-swift-frontend -dump-interface-hash %t/a.swift 2> %t/a.hash
// RUN: %target-swift-frontend -dump-interface-hash %t/b.swift 2> %t/b.hash
// RUN: not cmp %t/a.hash %t/b.hash
// BEGIN a.swift
private protocol P {
func f2() -> Int
var y: Int { get set }
}
// BEGIN b.swift
private protocol P {
func f2() -> Int
var x: Int { get set }
var y: Int { get set }
}