[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Modules / unnecessary-module-map-parsing.c
blob9dfd36cb30d5aa18d97a4d2d6695a44887966af8
1 // This checks that we are not parsing module maps if modules are not enabled.
3 // RUN: not %clang_cc1 -fmodules -fimplicit-module-maps -I %S/Inputs/unnecessary-module-map-parsing -fsyntax-only %s 2>&1 | FileCheck %s
4 // RUN: %clang_cc1 -I %S/Inputs/unnecessary-module-map-parsing -fsyntax-only %s
6 // CHECK: error: expected umbrella, header, submodule, or module export
8 #include "a1.h"