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