[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / Modules / module-impl-with-link.c
blobffd388c56b90ab74fb9135a873a32701f95b7833
1 // RUN: rm -rf %t
2 // 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
3 #include "foo.h"
4 // Make sure we don't generate linker option for module Clib since this TU is
5 // an implementation of Clib.
6 // CHECK: !llvm.linker.options = !{}