From: Johannes Doerfert Date: Sat, 19 Jan 2019 09:40:08 +0000 (+0000) Subject: [NFC] Generalize expected output for callback test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d5db72fe1d0756201f7097d4ca8ac9d1b92f9d3;p=clang [NFC] Generalize expected output for callback test git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351642 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/callback_pthread_create.c b/test/CodeGen/callback_pthread_create.c index d751e8abb3..7184f82ca3 100644 --- a/test/CodeGen/callback_pthread_create.c +++ b/test/CodeGen/callback_pthread_create.c @@ -1,7 +1,7 @@ // RUN: %clang -O1 %s -S -c -emit-llvm -o - | FileCheck %s // RUN: %clang -O1 %s -S -c -emit-llvm -o - | opt -ipconstprop -S | FileCheck --check-prefix=IPCP %s -// CHECK: declare !callback ![[cid:[0-9]+]] dso_local i32 @pthread_create +// CHECK: declare !callback ![[cid:[0-9]+]] {{.*}}i32 @pthread_create // CHECK: ![[cid]] = !{![[cidb:[0-9]+]]} // CHECK: ![[cidb]] = !{i64 2, i64 3, i1 false}