2013-12-13 00:08:33 +08:00
|
|
|
// This checks that we are not parsing module maps if modules are not enabled.
|
|
|
|
|
2013-12-13 18:08:24 +08:00
|
|
|
// 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
|
2013-12-13 00:08:33 +08:00
|
|
|
|
2013-12-17 18:31:37 +08:00
|
|
|
// CHECK: error: expected umbrella, header, submodule, or module export
|
2013-12-13 00:08:33 +08:00
|
|
|
|
|
|
|
#include "a1.h"
|