Skip to content

Commit

Permalink
[CodeCompletion] Add test for a fixed crasher assigning to AnyObject
Browse files Browse the repository at this point in the history
rdar://problem/23379556
  • Loading branch information
benlangmuir committed Nov 12, 2015
1 parent 6887b90 commit 7649d32
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions validation-test/IDE/crashers_fixed/assign-anyobject.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s | FileCheck %s
var bar: AnyObject
var foo: AnyObject
foo = #^A^#
// CHECK: Decl[GlobalVar]/Local/TypeRelation[Identical]: foo[#AnyObject#];

0 comments on commit 7649d32

Please sign in to comment.