Clang Project

clang_source_code/test/CodeGenCXX/rtti-hidden.cpp
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
6class foo {
7  virtual void baz();
8};
9struct __attribute__((__visibility__("hidden"))) bar : public foo {};
10bar zed;
11