mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Relax test.
On Windows a separate .loc directive is emitted to introduce the function epilogue, which is not there on other platforms. rdar://116482190
This commit is contained in:
@@ -7,9 +7,9 @@ func app() {
|
||||
var x : Bool = true
|
||||
x = !x
|
||||
x = !x
|
||||
// CHECK: .loc [[FILEID]] [[@LINE+3]] 1
|
||||
// CHECK-NOT:.loc
|
||||
// CHECK: .loc [[FILEID]] [[@LINE+2]] 1
|
||||
// CHECK: ret
|
||||
}
|
||||
|
||||
app()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user