2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -x c++ -E %s | \
3 // RUN: FileCheck -strict-whitespace %s
4 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -x objective-c -E %s | \
5 // RUN: FileCheck -strict-whitespace %s
6 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -x c++ -E -frewrite-includes %s | \
7 // RUN: FileCheck -strict-whitespace %s --check-prefix=REWRITE
8 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -x objective-c -E -frewrite-includes %s | \
9 // RUN: FileCheck -strict-whitespace %s --check-prefix=REWRITE
14 // EOF marker to ensure -frewrite-includes doesn't match its own CHECK lines.
17 // REWRITE: #include{{ }}"dummy.h"
20 // CHECK: #pragma clang module import dummy /* clang {{.*}} implicit import
23 // REWRITE: #include{{ }}"dummy.h"
26 // CHECK: #pragma clang module import dummy /* clang {{.*}} implicit import
30 // REWRITE: // {{EOF}} marker