1*0a6a1f1dSLionel Sambuc // This checks that we are not parsing module maps if modules are not enabled. 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc // RUN: not %clang_cc1 -fmodules -I %S/Inputs/unnecessary-module-map-parsing -fsyntax-only %s 2>&1 | FileCheck %s 4*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -I %S/Inputs/unnecessary-module-map-parsing -fsyntax-only %s 5*0a6a1f1dSLionel Sambuc 6*0a6a1f1dSLionel Sambuc // CHECK: error: expected umbrella, header, submodule, or module export 7*0a6a1f1dSLionel Sambuc 8*0a6a1f1dSLionel Sambuc #include "a1.h" 9