// RUN: c-index-test -test-load-source all %s 2>&1 | FileCheck %s

// This test case previously crashed Sema.

extern "C" { @implementation Foo  - (id)initWithBar:(Baz<WozBar>)pepper {

// CHECK: warning: cannot find interface declaration for 'Foo'
// CHECK: warning: '@end' is missing in implementation context

Add test case for <rdar://problem/8288645>. While this is fixed in trunk, we previously were getting the following assertion failure not too long ago:
Add test case for <rdar://problem/8288645>.  While this is fixed in trunk, we previously were getting the following assertion failure not too long ago:

Assertion failed: (getContainingDC(DC) == CurContext && "The next DeclContext should be lexically contained in the current one.")

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@110740 91177308-0d34-0410-b5e6-96231b3b80d8
