// RUN: %swift -parse %s -verify

struct X { 
  var b = true, i = 17

  var d : Dictionary = [0 : "Zero", 1 : "One", 2 : "Two" ]
}

def testX(x : X) {
  x.b = false
  x.i = 5
  x.d[3] = "Three"
}

struct Broken {
  var b = True // expected-error{{use of unresolved identifier 'True'}}
}


Add test for type inference of instance variables.
Add test for type inference of instance variables.


Swift SVN r9917
