xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/dependency-gen-pch.m (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc// RUN: rm -rf %t-mcp
2*0a6a1f1dSLionel Sambuc// RUN: mkdir -p %t-mcp
3*0a6a1f1dSLionel Sambuc
4*0a6a1f1dSLionel Sambuc// 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 -fdisable-module-hash -fmodules-cache-path=%t-mcp -emit-pch -o %t.pch %s
5*0a6a1f1dSLionel Sambuc// RUN: FileCheck %s < %t.d
6*0a6a1f1dSLionel Sambuc// CHECK: dependency-gen-pch.m.o
7*0a6a1f1dSLionel Sambuc// CHECK-NEXT: dependency-gen-pch.m
8*0a6a1f1dSLionel Sambuc// CHECK-NEXT: diamond_top.pcm
9*0a6a1f1dSLionel Sambuc// CHECK-NEXT: Inputs{{.}}diamond_top.h
10*0a6a1f1dSLionel Sambuc// CHECK-NEXT: Inputs{{.}}module.map
11*0a6a1f1dSLionel Sambuc
12*0a6a1f1dSLionel Sambuc#import "diamond_top.h"
13