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

class NotEquatable {}

func test_ArrayOfNotEquatableIsNotEquatable() {
  var a = [ NotEquatable(), NotEquatable() ]
  if a == a {} // expected-error {{'[NotEquatable]' is not convertible to 'MirrorDisposition'}}
}


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

class NotEquatable {}

func test_ArrayOfNotEquatableIsNotEquatable() {
  var a = [ NotEquatable(), NotEquatable() ]
  if a == a {} // expected-error {{'[NotEquatable]' is not convertible to '_ArrayCastKind'}}
}


Revert one test change that happens after access control goes into effect.
Revert one test change that happens after access control goes into effect.

(This is a pretty lousy error no matter what, though.)

Swift SVN r19356
