2 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -isystem %S/Inputs/System/usr/include -triple x86_64-apple-darwin10 %s -verify -fsyntax-only
3 // expected-no-diagnostics
5 @import Darwin.C.excluded; // no error, header is implicitly 'textual'
6 @import Tcl.Private; // no error, header is implicitly 'textual'
7 @import IOKit.avc; // no error, cplusplus requirement removed
9 #if defined(DARWIN_C_EXCLUDED)
10 #error assert.h should be textual
11 #elif defined(TCL_PRIVATE)
12 #error tcl-private/header.h should be textual
16 #import <tcl-private/header.h>
18 #if !defined(DARWIN_C_EXCLUDED)
19 #error assert.h missing
20 #elif !defined(TCL_PRIVATE)
21 #error tcl-private/header.h missing