2014-03-07 14:40:32 +08:00
|
|
|
// RUN: rm -rf %t-mcp
|
|
|
|
// RUN: mkdir -p %t-mcp
|
|
|
|
|
2014-03-07 15:27:49 +08:00
|
|
|
// RUN: %clang_cc1 -x objective-c -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -dependency-file %t.d.1 -MT %s.o -I %S/Inputs -fsyntax-only -fmodules -fmodules-cache-path=%t-mcp %s
|
2014-03-07 14:40:32 +08:00
|
|
|
// RUN: FileCheck %s < %t.d.1
|
|
|
|
// CHECK: dependency-gen.m
|
2014-03-07 16:15:35 +08:00
|
|
|
// CHECK: Inputs{{.}}diamond_top.h
|
|
|
|
// CHECK: Inputs{{.}}module.map
|
2014-03-07 15:27:49 +08:00
|
|
|
// CHECK-NOT: usr{{.}}include{{.}}module.map
|
|
|
|
// CHECK-NOT: stdint.h
|
2014-03-07 14:40:32 +08:00
|
|
|
|
|
|
|
|
2014-03-07 15:27:49 +08:00
|
|
|
// RUN: %clang_cc1 -x objective-c -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -dependency-file %t.d.2 -MT %s.o -I %S/Inputs -sys-header-deps -fsyntax-only -fmodules -fmodules-cache-path=%t-mcp %s
|
2014-03-07 14:40:32 +08:00
|
|
|
// RUN: FileCheck %s -check-prefix=CHECK-SYS < %t.d.2
|
|
|
|
// CHECK-SYS: dependency-gen.m
|
2014-03-07 16:15:35 +08:00
|
|
|
// CHECK-SYS: Inputs{{.}}diamond_top.h
|
|
|
|
// CHECK-SYS: Inputs{{.}}module.map
|
2014-03-07 15:27:49 +08:00
|
|
|
// CHECK-SYS: usr{{.}}include{{.}}module.map
|
|
|
|
// CHECK-SYS: stdint.h
|
2014-03-07 14:40:32 +08:00
|
|
|
|
|
|
|
#import "diamond_top.h"
|
2014-03-07 15:27:49 +08:00
|
|
|
#import "stdint.h" // inside sysroot
|