1 // RUN: %clang_cc1 -flto -flto-unit -triple x86_64-unknown-linux -fvisibility=hidden -emit-llvm -o - %s | FileCheck %s
11 struct [[clang::lto_visibility_public
]] S2
{
15 // CHECK-NOT: declare{{.*}}!type
16 // CHECK-NOT: define{{.*}}!type
21 // CHECK: define hidden void @_ZN2S11fEv{{.*}} !type [[S2F:![0-9]+]]
28 // CHECK-NOT: declare{{.*}}!type
29 // CHECK-NOT: define{{.*}}!type
31 // CHECK: [[S2F]] = !{i64 0, !"_ZTSM2S1FvvE"}