annotate clang/test/Modules/module-impl-with-link.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
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
anatofuz
parents:
diff changeset
3 #include "foo.h"
anatofuz
parents:
diff changeset
4 // Make sure we don't generate linker option for module Clib since this TU is
anatofuz
parents:
diff changeset
5 // an implementation of Clib.
anatofuz
parents:
diff changeset
6 // CHECK: !llvm.linker.options = !{}