[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / exclude-header.c
blobb3e6d8d6dd12c7d0099d621a5fec8e1406c260c4
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -x objective-c -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/exclude-header %s -verify
4 @import x;
6 a var_a;
7 b var_b1; // expected-error {{unknown type name 'b'}}
9 @import y;
11 b var_b2;