brintos

brintos / llvm-project-archived public Read only

0
0
Text · 758 B · e78df7b Raw
18 lines · plain
1// RUN: rm -rf %t.cache2// RUN: echo '@import X;' | \3// RUN:   %clang_cc1 -fmodules -fimplicit-module-maps \4// RUN:     -fmodules-cache-path=%t.cache -I%S/Inputs/system-out-of-date \5// RUN:     -fsyntax-only -x objective-c -6//7// Build something with different diagnostic options.8// RUN: %clang_cc1 -fmodules -fimplicit-module-maps \9// RUN:   -fmodules-cache-path=%t.cache -I%S/Inputs/system-out-of-date \10// RUN:   -fsyntax-only %s -Wnon-modular-include-in-framework-module \11// RUN:   -Werror=non-modular-include-in-framework-module 2>&1 \12// RUN: | FileCheck %s13@import X;14 15#import <Z.h>16// CHECK: While building module 'Z' imported from17// CHECK: {{.*}}Y-{{.*}}pcm' was validated as a system module and is now being imported as a non-system module18