summaryrefslogtreecommitdiffstats
path: root/test/Index/rdar-8288645-invalid-code.mm
blob: ec4564130a527f105604fdf0990d12eeb89c8c0b (plain)
1
2
3
4
5
6
7
// 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'
OpenPOWER on IntegriCloud