Files
swift-mirror/test/DebugInfo/implicitreturn.swift
Adrian Prantl 2155d3d6b7 Debug info: Fix line table entries for implicit return statements.
rdar://problem/14981751

Swift SVN r8462
2013-09-19 20:30:54 +00:00

13 lines
197 B
Swift

// RUN: %swift -triple x86_64-apple-darwin10 %s -S -g -o - | FileCheck %s
func app() {
var x : Bool = true
x = !x
x = !x
// CHECK: .loc 1 [[@LINE+3]] 1
// CHECK-NOT:.loc
// CHECK: ret
}
app()