brintos

brintos / llvm-project-archived public Read only

0
0
Text · 456 B · e0b77cd Raw
16 lines · plain
1// RUN: rm -rf %t2// RUN: mkdir %t3 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/stderr8// RUN: FileCheck --input-file=%t/stderr %s9 10// CHECK: use of '@import' in framework header is discouraged11 12#import <A/A.h>13 14int bar(void) { return foo(); }15 16