• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: rm -rf %t-mcp
2// RUN: mkdir -p %t-mcp
3// REQUIRES: x86-registered-target
4
5// 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
6// RUN: FileCheck %s < %t.d
7// CHECK: dependency-gen-pch.m.o
8// CHECK-NEXT: dependency-gen-pch.m
9// CHECK-NEXT: Inputs{{.}}module.map
10// CHECK-NEXT: diamond_top.pcm
11// CHECK-NEXT: Inputs{{.}}diamond_top.h
12
13#import "diamond_top.h"
14