blob: ffd388c56b90ab74fb9135a873a32701f95b7833 [file] [log] [blame]
Manman Ren9803ee82017-01-11 18:47:38 +00001// RUN: rm -rf %t
Peter Collingbournecbc69712017-03-24 19:32:20 +00002// 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
Manman Ren9803ee82017-01-11 18:47:38 +00003#include "foo.h"
Manman Ren9803ee82017-01-11 18:47:38 +00004// Make sure we don't generate linker option for module Clib since this TU is
5// an implementation of Clib.
Peter Collingbourne89061b22017-06-12 20:10:48 +00006// CHECK: !llvm.linker.options = !{}