aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/module-impl-with-link.c
blob: be2f1359b5e9415fe4d0bf5e85aaf991162192a0 (plain)
1
2
3
4
5
6
// RUN: rm -rf %t
// 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
#include "foo.h"
// Make sure we don't generate linker option for module Clib since this TU is
// an implementation of Clib.
// CHECK-NOT: !llvm.linker.options =