From e5ddc0b8cae693324e62da8358ece50b103fe15c Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Fri, 24 Mar 2017 19:32:20 +0000 Subject: [PATCH] Fix a test so that it actually checks the output. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298728 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Modules/module-impl-with-link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Modules/module-impl-with-link.c b/test/Modules/module-impl-with-link.c index 5e5ca83aaf..3bd4c4abd9 100644 --- a/test/Modules/module-impl-with-link.c +++ b/test/Modules/module-impl-with-link.c @@ -1,5 +1,5 @@ // 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 - +// 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 -- 2.40.0