1// RUN: rm -rf %t.cache
2// RUN: echo "@import Mismatch;" >%t.m
3// RUN: %clang_cc1 -Wno-system-headers -fdisable-module-hash \
4// RUN:   -fmodules-cache-path=%t.cache -fmodules -fimplicit-module-maps \
5// RUN:   -I%S/Inputs/warning-mismatch %t.m -fsyntax-only
6// RUN: %clang_cc1 -Wsystem-headers -fdisable-module-hash \
7// RUN:   -fmodules-cache-path=%t.cache -fmodules -fimplicit-module-maps \
8// RUN:   -I%S/Inputs/warning-mismatch %s -fsyntax-only
9
10// This testcase triggers a warning flag mismatch in an already validated
11// header.
12@import Mismatch;
13@import System;
14