aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/key-function-vtable.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-12-08 04:09:14 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-12-08 04:09:14 +0000
commit0259ce2b4a94b7d1b28a084b76650cbf448e3eb8 (patch)
treee4e63c6449faf2e6df80c9b35441c2102ce44914 /test/CodeGenCXX/key-function-vtable.cpp
parent61eab8872168af6eb1e0047a82901096cf145e27 (diff)
Slight tweak to vtable linkage.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/key-function-vtable.cpp')
-rw-r--r--test/CodeGenCXX/key-function-vtable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/key-function-vtable.cpp b/test/CodeGenCXX/key-function-vtable.cpp
index ac88067a78..e61f33a4cf 100644
--- a/test/CodeGenCXX/key-function-vtable.cpp
+++ b/test/CodeGenCXX/key-function-vtable.cpp
@@ -35,7 +35,7 @@ testg *testgvar = new testg;
// FIXME: The checks are extremely difficult to get right when the globals
// aren't alphabetized
// CHECK: @_ZTV5testa = constant [3 x i8*] [i8* null
-// CHECK: @_ZTV5testc = constant [3 x i8*] [i8* null
+// CHECK: @_ZTV5testc = weak_odr constant [3 x i8*] [i8* null
// CHECK: @_ZTVN12_GLOBAL__N_15testgE = internal constant [3 x i8*] [i8* null
// CHECK: @_ZTV5teste = weak_odr constant [3 x i8*] [i8* null
// CHECK: @_ZTV5testb = weak_odr constant [3 x i8*] [i8* null