1 # REQUIRES: x86_64-linux, llvm-dylib
3 # Make sure there's no llvm::Any::TypeId symbol local to the shared library. As
4 # the adress of llvm::Any::TypeId::Id is used as a global unique identifier for
5 # each type, having another visibility defeats the original purpose.
7 # This happens when llvm::Any::TypeId is parametrized by a type with hidden
10 # RUN: llvm-nm -C %llvmdylib | FileCheck %s
11 # RUN: llvm-nm -C %llvmdylib | FileCheck %s --check-prefix=SAFETY-CHECK
13 # CHECK-NOT: {{[^uvV]}} llvm::Any::TypeId
14 # SAFETY-CHECK: {{[uvV]}} llvm::Any::TypeId