Argyrios Kyrtzidis | 9955dbc | 2013-12-12 16:08:33 +0000 | [diff] [blame] | 1 | // This checks that we are not parsing module maps if modules are not enabled. |
| 2 | |
Manuel Klimek | 6b5460c | 2013-12-13 10:08:24 +0000 | [diff] [blame] | 3 | // RUN: not %clang_cc1 -fmodules -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 |
Argyrios Kyrtzidis | 9955dbc | 2013-12-12 16:08:33 +0000 | [diff] [blame] | 5 | |
| 6 | // CHECK: error: header 'unknown.h' not found |
| 7 | |
| 8 | #include "a1.h" |