• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fmodules-decluse -fmodule-name=A -fmodule-map-file=%S/Inputs/separate_map_tree/maps/modulea.map -I %S/Inputs/separate_map_tree/src %s -verify
3 
4 #include "common.h"
5 #include "public-in-b.h" // expected-error {{private header}}
6 #include "public-in-c.h"
7 #include "private-in-c.h" // expected-error {{private header}}
8 const int val = common + b + c + c_; // expected-error {{undeclared identifier}}
9