2014-03-14 11:07:38 +08:00
|
|
|
// RUN: rm -rf %t-mcp
|
|
|
|
// RUN: mkdir -p %t-mcp
|
2015-07-08 09:00:30 +08:00
|
|
|
// REQUIRES: x86-registered-target
|
2014-03-14 11:07:38 +08:00
|
|
|
|
2015-06-16 08:08:24 +08:00
|
|
|
// RUN: %clang_cc1 -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -module-file-deps -dependency-file %t.d -MT %s.o -I %S/Inputs -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t-mcp -emit-pch -o %t.pch %s
|
2014-03-14 11:07:38 +08:00
|
|
|
// RUN: FileCheck %s < %t.d
|
|
|
|
// CHECK: dependency-gen-pch.m.o
|
|
|
|
// CHECK-NEXT: dependency-gen-pch.m
|
2015-08-09 12:46:57 +08:00
|
|
|
// CHECK-NEXT: Inputs{{.}}module.map
|
2014-03-14 11:07:38 +08:00
|
|
|
// CHECK-NEXT: diamond_top.pcm
|
|
|
|
// CHECK-NEXT: Inputs{{.}}diamond_top.h
|
|
|
|
|
|
|
|
#import "diamond_top.h"
|