Mercurial > hg > CbC > CbC_llvm
comparison 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 |
comparison
equal
deleted
inserted
replaced
172:9fbae9c8bf63 | 173:0572611fdcc8 |
---|---|
1 // RUN: rm -rf %t.dir | |
2 // RUN: mkdir %t.dir | |
3 | |
4 // -fsystem-module requires -emit-module | |
5 // 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.map -o %t.dir/warning.pcm | |
10 | |
11 // RUN: %clang_cc1 -fmodules -I %S/Inputs \ | |
12 // RUN: -emit-module -fmodule-name=warning -pedantic -Werror \ | |
13 // RUN: %S/Inputs/module.map -o %t.dir/warning-system.pcm -fsystem-module | |
14 | |
15 // RUN: not %clang_cc1 -fmodules -I %S/Inputs \ | |
16 // RUN: -emit-module -fmodule-name=warning -pedantic -Werror \ | |
17 // RUN: %S/Inputs/module.map -o %t.dir/warning-system.pcm -fsystem-module \ | |
18 // RUN: -Wsystem-headers |