brintos

brintos / llvm-project-archived public Read only

0
0
Text · 758 B · 7eeb35d Raw
19 lines · plain
1// RUN: rm -rf %t.dir2// RUN: mkdir %t.dir3 4// -fsystem-module requires -emit-module5// RUN: not %clang_cc1 -fsyntax-only -fsystem-module %s 2>&1 | grep "-emit-module"6 7// RUN: not %clang_cc1 -fmodules -I %S/Inputs \8// RUN:   -emit-module -fmodule-name=warning -pedantic -Werror \9// RUN:   %S/Inputs/module.modulemap -o %t.dir/warning.pcm10 11// RUN: %clang_cc1 -fmodules -I %S/Inputs \12// RUN:   -emit-module -fmodule-name=warning -pedantic -Werror \13// RUN:   %S/Inputs/module.modulemap -o %t.dir/warning-system.pcm -fsystem-module14 15// RUN: not %clang_cc1 -fmodules -I %S/Inputs \16// RUN:   -emit-module -fmodule-name=warning -pedantic -Werror \17// RUN:   %S/Inputs/module.modulemap -o %t.dir/warning-system.pcm -fsystem-module \18// RUN:   -Wsystem-headers19