aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/pragma-weak.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/pragma-weak.cpp')
-rw-r--r--test/CodeGenCXX/pragma-weak.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/pragma-weak.cpp b/test/CodeGenCXX/pragma-weak.cpp
index caab2662a9f5..83d66bca3b5a 100644
--- a/test/CodeGenCXX/pragma-weak.cpp
+++ b/test/CodeGenCXX/pragma-weak.cpp
@@ -5,7 +5,7 @@ int zex;
// GCC produces a weak symbol for this because it matches mangled names.
// Different c++ ABIs may or may not mangle this, so we produce a strong
// symbol.
-// CHECK: @zex = global i32
+// CHECK: @zex = {{(dso_local )?}}global i32
#pragma weak foo
struct S { void foo(); };