commit | 9f959db60e8913abafe7d5f5f5a83dc6a5c8d87e | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jan 11 21:10:26 2011 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jan 11 21:10:26 2011 +0000 |
tree | 69e1c46a2872e93da45e316313d7e8e77a7cdcd6 | |
parent | bc6f0daca4676989116e9c6b8dafeb01ec34252d [diff] [blame] |
Add unnamed_addr to vtables. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123272 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/vtable-key-function.cpp b/test/CodeGenCXX/vtable-key-function.cpp index 97a546f..a9e4513 100644 --- a/test/CodeGenCXX/vtable-key-function.cpp +++ b/test/CodeGenCXX/vtable-key-function.cpp
@@ -9,7 +9,7 @@ // 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) { } }