1 // UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
3 // Test that autolink hints for frameworks don't use the private module name.
4 // UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
6 // RUN: rm -rf %t && mkdir %t
7 // RUN: split-file %s %t
9 // RUN: %clang_cc1 -emit-llvm -o - -fmodules-cache-path=%t/ModuleCache -fmodules -fimplicit-module-maps -F %t/Frameworks %t/test.m | FileCheck %s
11 // CHECK: !{!"-framework", !"Autolink"}
12 // CHECK-NOT: !{!"-framework", !"Autolink_Private"}
15 #include <Autolink/Autolink.h>
16 #include <Autolink/Autolink_Private.h>
18 //--- Frameworks/Autolink.framework/Headers/Autolink.h
21 //--- Frameworks/Autolink.framework/PrivateHeaders/Autolink_Private.h
24 //--- Frameworks/Autolink.framework/Modules/module.modulemap
25 framework module Autolink { header "Autolink.h"}
27 //--- Frameworks/Autolink.framework/Modules/module.private.modulemap
28 framework module Autolink_Private { header "Autolink_Private.h"}