llvm-project/clang/test/Modules/exclude-header.c
Richard Smith 50996ce1e3 If a header is explicitly included in module A, and excluded from an umbrella
directory in module B, don't include it in module B!

llvm-svn: 205762
2014-04-08 13:13:04 +00:00

12 lines
224 B
C

// RUN: rm -rf %t
// RUN: %clang_cc1 -x objective-c -fmodules -fmodules-cache-path=%t -I %S/Inputs/exclude-header %s -verify
@import x;
a var_a;
b var_b1; // expected-error {{unknown type name 'b'}}
@import y;
b var_b2;