 
 func nested1(x: Int) {
   var y : Int
-
+  
   func nested2(z: Int) -> Int {
     return x+y+z
   }
-
+  
   nested2(1)
 }
 

// "defer"

func test_defer(a : Int) {

  defer { VoidReturn1() }
  defer { breakContinue(1)+42 }

  // Ok:
  defer { while false { break } }


func for_ignored_lvalue_init() {
  var i = 0
  for i;  // expected-error {{expression resolves to an unused l-value}}
    i < 10; ++i {}
}

// rdar://problem/18643692
func for_loop_multi_iter() {
  for (var i = 0, x = 0; i < 10; i++,
       x) { // expected-error {{expression resolves to an unused l-value}}
    --x
  }
}

