Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / rtti-hidden.cpp
blob3ae487f58025fde9cec6982386bba40486c5c24e
1 // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -emit-llvm -o - | FileCheck %s
3 // Test that this is not hidden.
4 // CHECK: @_ZTVN10__cxxabiv120__si_class_type_infoE = external global
6 class foo {
7 virtual void baz();
8 };
9 struct __attribute__((__visibility__("hidden"))) bar : public foo {};
10 bar zed;