From 8b14a499f9621656eafb1e7448b7a71fbb61a8e6 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 12 Aug 2014 15:55:27 +0000 Subject: [PATCH] Make the test a bit more strict. Before it would pass even if @b or @c ended up pointing to a variable named @a123. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215450 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/gold/weak.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tools/gold/weak.ll b/test/tools/gold/weak.ll index da88f14a212..e05e905cc14 100644 --- a/test/tools/gold/weak.ll +++ b/test/tools/gold/weak.ll @@ -12,5 +12,5 @@ ; Test that @b and @c end up pointing to the same variable. ; CHECK: @a = weak global i32 42 -; CHECK: @b = global i32* @a -; CHECK: @c = global i32* @a +; CHECK: @b = global i32* @a{{$}} +; CHECK: @c = global i32* @a{{$}} -- 2.34.1