mirror of
https://github.com/opnsense/src.git
synced 2026-03-27 21:23:11 -04:00
7 lines
419 B
C
7 lines
419 B
C
// 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"
|
|
// CHECK: !{{[0-9]+}} = !{i32 6, !"Linker Options", ![[LINK_OPTIONS:[0-9]+]]}
|
|
// Make sure we don't generate linker option for module Clib since this TU is
|
|
// an implementation of Clib.
|
|
// CHECK: ![[LINK_OPTIONS]] = !{}
|