bolt/deps/llvm-18.1.8/clang/test/Modules/module-impl-with-link.c

7 lines
344 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// 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: !llvm.linker.options = !{}