Mercurial > hg > CbC > CbC_llvm
diff clang/test/Modules/fsystem-module.m @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clang/test/Modules/fsystem-module.m Mon May 25 11:55:54 2020 +0900 @@ -0,0 +1,18 @@ +// RUN: rm -rf %t.dir +// RUN: mkdir %t.dir + +// -fsystem-module requires -emit-module +// RUN: not %clang_cc1 -fsyntax-only -fsystem-module %s 2>&1 | grep "-emit-module" + +// RUN: not %clang_cc1 -fmodules -I %S/Inputs \ +// RUN: -emit-module -fmodule-name=warning -pedantic -Werror \ +// RUN: %S/Inputs/module.map -o %t.dir/warning.pcm + +// RUN: %clang_cc1 -fmodules -I %S/Inputs \ +// RUN: -emit-module -fmodule-name=warning -pedantic -Werror \ +// RUN: %S/Inputs/module.map -o %t.dir/warning-system.pcm -fsystem-module + +// RUN: not %clang_cc1 -fmodules -I %S/Inputs \ +// RUN: -emit-module -fmodule-name=warning -pedantic -Werror \ +// RUN: %S/Inputs/module.map -o %t.dir/warning-system.pcm -fsystem-module \ +// RUN: -Wsystem-headers