llvm-project/clang/test/Modules/interface-diagnose-missing-...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
409 B
Mathematica
Raw Normal View History

// RUN: rm -rf %t
// RUN: %clang_cc1 %s -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -F%S/Inputs/interface-diagnose-missing-import -verify
@interface Buggy
@end
@import Foo.Bar;
@interface Buggy (MyExt) // expected-error {{definition of 'Buggy' must be imported from module 'Foo' before it is required}}
@end
// expected-note@Foo/RandoPriv.h:3{{definition here is not reachable}}