view clang/test/Modules/fsystem-module.m @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 0572611fdcc8
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