// Also run this test in optimize test modes.
// REQUIRES: executable_test

// RUN: %target-run-simple-swift | FileCheck %s

struct Structure {
  var a: UInt8
  var b: UInt8
  var c: UInt8
}

enum Enum: Int {
  case One, Two, Three, Four
}

var x: [Enum: (Structure?, Structure?)] = [
    .One: (Structure(a: 1, b: 2, c: 3), nil)
]

// CHECK: [main.Enum.One: (Optional(main.Structure(a: 1, b: 2, c: 3)), nil)]
print(x)

Add regression test from rdar://problem/20891471.
Add regression test from rdar://problem/20891471.

Swift SVN r29214
