Mercurial > hg > CbC > CbC_llvm
annotate 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 |
rev | line source |
---|---|
150 | 1 // RUN: rm -rf %t |
2 // RUN: mkdir %t | |
3 | |
4 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache \ | |
5 // RUN: -F%S/Inputs/at-import-in-framework-header -I%S/Inputs/at-import-in-framework-header \ | |
6 // RUN: -Watimport-in-framework-header -fsyntax-only %s \ | |
7 // RUN: 2>%t/stderr | |
8 // RUN: FileCheck --input-file=%t/stderr %s | |
9 | |
10 // CHECK: use of '@import' in framework header is discouraged | |
11 | |
12 #import <A/A.h> | |
13 | |
236 | 14 int bar(void) { return foo(); } |
150 | 15 |