view 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 source

// 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