llvm-for-llvmta/tools/clang/test/Index/rdar-8288645-invalid-code.mm

8 lines
249 B
Plaintext
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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'