summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/unnecessary-module-map-parsing.c
blob: 621bb0195dd8b5355a346f814975efb889f07f83 (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/unnecessary-module-map-parsing -fsyntax-only %s 2>&1 | FileCheck %s
// RUN: %clang_cc1 -I %S/unnecessary-module-map-parsing -fsyntax-only %s

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

#include "a1.h"
OpenPOWER on IntegriCloud