summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/unnecessary-module-map-parsing.c
blob: 16f7086a6d7a5147386fcdc1494ffe2ade0c3394 (plain)
1
2
3
4
5
6
7
8
// This checks that we are not parsing module maps if modules are not enabled.

// RUN: not %clang_cc1 -fmodules -I %S/Inputs/unnecessary-module-map-parsing -fsyntax-only %s 2>&1 | FileCheck %s
// RUN: %clang_cc1 -I %S/Inputs/unnecessary-module-map-parsing -fsyntax-only %s

// CHECK: error: header 'unknown.h' not found

#include "a1.h"
OpenPOWER on IntegriCloud