13 lines · cpp
1// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s2namespace std {3 class type_info;4}5 6struct X { };7 8void f() {9 // CHECK: @_ZTI1X = linkonce_odr {{(dso_local |hidden )?}}constant10 // CHECK: @_ZTS1X = linkonce_odr {{(dso_local |hidden )?}}constant11 (void)typeid(X&);12}13