diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-11 21:10:26 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-11 21:10:26 +0000 |
commit | 9f959db60e8913abafe7d5f5f5a83dc6a5c8d87e (patch) | |
tree | 69e1c46a2872e93da45e316313d7e8e77a7cdcd6 /test/CodeGenCXX/vtable-key-function.cpp | |
parent | bc6f0daca4676989116e9c6b8dafeb01ec34252d (diff) |
Add unnamed_addr to vtables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/vtable-key-function.cpp')
-rw-r--r-- | test/CodeGenCXX/vtable-key-function.cpp | 2 |
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..a9e4513b16 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 unnamed_addr constant A::A() { } A::A(int) { } } |