blob: 3bd4c4abd92b070789d1f1ba48e73af55e6f3b55 [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"
4// CHECK: !{{[0-9]+}} = !{i32 6, !"Linker Options", ![[LINK_OPTIONS:[0-9]+]]}
5// Make sure we don't generate linker option for module Clib since this TU is
6// an implementation of Clib.
7// CHECK: ![[LINK_OPTIONS]] = !{}