14 lines · plain
1// RUN: rm -rf %t.cache2// RUN: echo "@import Mismatch;" >%t.m3// 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-only6// 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-only9 10// This testcase triggers a warning flag mismatch in an already validated11// header.12@import Mismatch;13@import System;14