Mercurial > hg > CbC > CbC_llvm
view clang/test/Modules/at-import-in-framework-header.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 | c4bab56944e8 |
children |
line wrap: on
line source
// RUN: rm -rf %t // RUN: mkdir %t // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache \ // RUN: -F%S/Inputs/at-import-in-framework-header -I%S/Inputs/at-import-in-framework-header \ // RUN: -Watimport-in-framework-header -fsyntax-only %s \ // RUN: 2>%t/stderr // RUN: FileCheck --input-file=%t/stderr %s // CHECK: use of '@import' in framework header is discouraged #import <A/A.h> int bar(void) { return foo(); }