Home | History | Annotate | Download | only in Modules
      1 // RUN: cd %S
      2 // RUN: rm -f %t.cpm %t-base.pcm %t-base.d %t.d
      3 // RUN: %clang_cc1 -I. -x c++ -fmodule-maps -fmodule-name=test-base -fno-modules-implicit-maps -fmodules -emit-module -fno-validate-pch -fmodules-strict-decluse Inputs/dependency-gen-base.modulemap -dependency-file %t-base.d -MT %t-base.pcm -o %t-base.pcm -fmodule-map-file-home-is-cwd
      4 // RUN: %clang_cc1 -I. -x c++ -fmodule-maps -fmodule-name=test -fno-modules-implicit-maps -fmodules -emit-module -fno-validate-pch -fmodules-strict-decluse -fmodule-file=%t-base.pcm %s -dependency-file %t.d -MT %t.pcm -o %t.pcm -fmodule-map-file-home-is-cwd
      5 // RUN: FileCheck %s < %t.d
      6 module "test" {
      7   export *
      8   header "Inputs/dependency-gen.h"
      9   use "test-base"
     10   use "test-base2"
     11 }
     12 extern module "test-base2" "Inputs/dependency-gen-base2.modulemap"
     13 extern module "test-base" "Inputs/dependency-gen-base.modulemap"
     14 
     15 // CHECK: {{ |\.[/\\]}}Inputs{{[/\\]}}dependency-gen-included2.h
     16 // CHECK: {{ |\.[/\\]}}Inputs{{[/\\]}}dependency-gen-base.modulemap
     17