// RUN: %target-swift-frontend -O -primary-file %s -emit-ir -g -o - | FileCheck %s

// CHECK-LABEL: define{{.*}}2fn
func fn() {
  println("two")
// CHECK-DAG: ![[LOC:.*]] = !MDLocation(line: [[@LINE+1]], column: 13,
  println(0 - UInt(Process.arguments.count))
// CHECK-DAG: ![[LOC2:.*]] = !MDLocation(line: [[@LINE+1]], column: 13,
  println(1 - UInt(Process.arguments.count))
  println("three")
}

// CHECK-DAG: call void @llvm.trap(), !dbg ![[LOC]]
// CHECK-DAG: unreachable, !dbg ![[LOC]]
// CHECK-DAG: call void @llvm.trap(), !dbg ![[LOC2]]
// CHECK-DAG: unreachable, !dbg ![[LOC2]]

// RUN: %target-swift-frontend -O -primary-file %s -emit-ir -g -o - | FileCheck %s

// CHECK-LABEL: define{{.*}}2fn
func fn() {
  println("two")
// CHECK-DAG: ![[LOC:.*]] = !MDLocation(line: [[@LINE+1]], column 13,
  println(0 - UInt(Process.arguments.count))
// CHECK-DAG: ![[LOC2:.*]] = !MDLocation(line: [[@LINE+1]], column 13,
  println(1 - UInt(Process.arguments.count))
  println("three")
}

// CHECK-DAG: call void @llvm.trap(), !dbg ![[LOC]]
// CHECK-DAG: unreachable, !dbg ![[LOC]]
// CHECK-DAG: call void @llvm.trap(), !dbg ![[LOC2]]
// CHECK-DAG: unreachable, !dbg ![[LOC2]]

--- 
+++ 
@@ -3,9 +3,9 @@
 // CHECK-LABEL: define{{.*}}2fn
 func fn() {
   println("two")
-// CHECK-DAG: ![[LOC:.*]] = !MDLocation(line: [[@LINE+1]], column 13,
+// CHECK-DAG: ![[LOC:.*]] = !MDLocation(line: [[@LINE+1]], column: 13,
   println(0 - UInt(Process.arguments.count))
-// CHECK-DAG: ![[LOC2:.*]] = !MDLocation(line: [[@LINE+1]], column 13,
+// CHECK-DAG: ![[LOC2:.*]] = !MDLocation(line: [[@LINE+1]], column: 13,
   println(1 - UInt(Process.arguments.count))
   println("three")
 }
Fix an embarrassing typo in this testcase.

Swift SVN r25154
