2017-01-12 02:47:38 +08:00
|
|
|
// RUN: rm -rf %t
|
2017-03-25 03:32:20 +08:00
|
|
|
// 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
|
2017-01-12 02:47:38 +08:00
|
|
|
#include "foo.h"
|
|
|
|
// Make sure we don't generate linker option for module Clib since this TU is
|
|
|
|
// an implementation of Clib.
|
2017-06-13 04:10:48 +08:00
|
|
|
// CHECK: !llvm.linker.options = !{}
|