1 | // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -emit-llvm -o - | FileCheck %s |
---|---|
2 | |
3 | // Test that this is not hidden. |
4 | // CHECK: @_ZTVN10__cxxabiv120__si_class_type_infoE = external global |
5 | |
6 | class foo { |
7 | virtual void baz(); |
8 | }; |
9 | struct __attribute__((__visibility__("hidden"))) bar : public foo {}; |
10 | bar zed; |
11 |