1*f4a2713aSLionel Sambuc // RUN: rm -rf %t 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -x objective-c %s -F %S/../Modules/Inputs -E -o - | FileCheck %s 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc // CHECK: int bar(); 5*f4a2713aSLionel Sambuc int bar(); 6*f4a2713aSLionel Sambuc // CHECK: @import Module; /* clang -E: implicit import for "{{.*Headers[/\\]Module.h}}" */ 7*f4a2713aSLionel Sambuc #include <Module/Module.h> 8*f4a2713aSLionel Sambuc // CHECK: int foo(); 9*f4a2713aSLionel Sambuc int foo(); 10*f4a2713aSLionel Sambuc // CHECK: @import Module; /* clang -E: implicit import for "{{.*Headers[/\\]Module.h}}" */ 11*f4a2713aSLionel Sambuc #include <Module/Module.h> 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc #include "pp-modules.h" // CHECK: # 1 "{{.*}}pp-modules.h" 1 14*f4a2713aSLionel Sambuc // CHECK: @import Module; /* clang -E: implicit import for "{{.*}}Module.h" */{{$}} 15*f4a2713aSLionel Sambuc // CHECK: # 14 "{{.*}}pp-modules.c" 2 16