aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/vtable-key-function.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-03 07:24:12 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-03 07:24:12 +0000
commit3d640e606165daf2eaf18d52c0697f68daec106a (patch)
tree18ecf011d07fa3119666f94012814d1a999ca880 /test/CodeGenCXX/vtable-key-function.cpp
parente3273e78da4716f9c999ae207f6898f376a6e1a4 (diff)
Emit weak vtables of non-template classes with hidden visibility.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110107 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/vtable-key-function.cpp')
-rw-r--r--test/CodeGenCXX/vtable-key-function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/vtable-key-function.cpp b/test/CodeGenCXX/vtable-key-function.cpp
index 97a546f8c9..bdcab230c6 100644
--- a/test/CodeGenCXX/vtable-key-function.cpp
+++ b/test/CodeGenCXX/vtable-key-function.cpp
@@ -9,7 +9,7 @@ struct A {
// A does not have a key function, so the first constructor we emit should
// cause the vtable to be defined (without assertions.)
-// CHECK: @_ZTVN6PR56971AE = weak_odr constant
+// CHECK: @_ZTVN6PR56971AE = weak_odr hidden constant
A::A() { }
A::A(int) { }
}