19803ee8eSManman Ren // RUN: rm -rf %t 2cbc69712SPeter Collingbourne // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -fmodule-name=Clib %s -I %S/Inputs/module-impl-with-link -emit-llvm -o - | FileCheck %s 39803ee8eSManman Ren #include "foo.h" 49803ee8eSManman Ren // Make sure we don't generate linker option for module Clib since this TU is 59803ee8eSManman Ren // an implementation of Clib. 6*89061b22SPeter Collingbourne // CHECK: !llvm.linker.options = !{} 7