]> granicus.if.org Git - clang/commitdiff
[NFC] Generalize expected output for callback test
authorJohannes Doerfert <jdoerfert@anl.gov>
Sat, 19 Jan 2019 09:40:08 +0000 (09:40 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Sat, 19 Jan 2019 09:40:08 +0000 (09:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351642 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/callback_pthread_create.c

index d751e8abb3f74a3a9825fc1fb3fa84993d69cfff..7184f82ca34ac6c4d6d0df62abb5afcfe3d6d69c 100644 (file)
@@ -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}