blob: 77df73a5308f6d41cd2611b34ac0b79a359b5672 [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
struct S {
func f2() -> Int {
return 0
}
var y: Int = 0
}
// BEGIN b.swift
struct S {
func f2() -> Int {
return 0
}
private var x: Int = 0
var y: Int = 0
}