mirror of https://github.com/microsoft/clang.git
Add a test.
This would have found the regression in r328238. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df9f4af626
commit
8a36024315
|
@ -0,0 +1,10 @@
|
|||
// RUN: %clang_cc1 %s -triple=x86_64-pc-linux -emit-llvm -o - | FileCheck %s
|
||||
|
||||
// Test that this is not hidden.
|
||||
// CHECK: @_ZTVN10__cxxabiv120__si_class_type_infoE = external global
|
||||
|
||||
class foo {
|
||||
virtual void baz();
|
||||
};
|
||||
struct __attribute__((__visibility__("hidden"))) bar : public foo {};
|
||||
bar zed;
|
Loading…
Reference in New Issue