You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
940 B
23 lines
940 B
4 months ago
|
// RUN: rm -rf %t-mcp
|
||
|
// RUN: mkdir -p %t-mcp
|
||
|
|
||
|
// RUN: %clang_cc1 -x objective-c -isystem %S/Inputs/System/usr/include -dependency-file %t.d.1 -MT %s.o -I %S/Inputs -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-mcp %s
|
||
|
// RUN: FileCheck %s < %t.d.1
|
||
|
// CHECK: dependency-gen.m
|
||
|
// CHECK: Inputs{{.}}module.map
|
||
|
// CHECK: Inputs{{.}}diamond_top.h
|
||
|
// CHECK-NOT: usr{{.}}include{{.}}module.map
|
||
|
// CHECK-NOT: stdint.h
|
||
|
|
||
|
|
||
|
// RUN: %clang_cc1 -x objective-c -isystem %S/Inputs/System/usr/include -dependency-file %t.d.2 -MT %s.o -I %S/Inputs -sys-header-deps -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-mcp %s
|
||
|
// RUN: FileCheck %s -check-prefix=CHECK-SYS < %t.d.2
|
||
|
// CHECK-SYS: dependency-gen.m
|
||
|
// CHECK-SYS: Inputs{{.}}module.map
|
||
|
// CHECK-SYS: Inputs{{.}}diamond_top.h
|
||
|
// CHECK-SYS: usr{{.}}include{{.}}module.map
|
||
|
// CHECK-SYS: stdint.h
|
||
|
|
||
|
#import "diamond_top.h"
|
||
|
#import "stdint.h" // inside sysroot
|