aboutsummaryrefslogblamecommitdiff
path: root/test/Index/rdar-8288645-invalid-code.mm
blob: 74e2365edcfef2b36fd4dc02f754b562acbc26e2 (plain) (tree)
1
2
3
4
5
6
7
8






                                                                         
                                                            
// 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: error: '@end' is missing in implementation context