1651f13cea278ec967336033dd032faef0e9fc2ecStephen Hines// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s 257fdc8a4382164955c7b30d09f4ce46fc7e67659Douglas Gregornamespace std { 357fdc8a4382164955c7b30d09f4ce46fc7e67659Douglas Gregor class type_info; 457fdc8a4382164955c7b30d09f4ce46fc7e67659Douglas Gregor} 557fdc8a4382164955c7b30d09f4ce46fc7e67659Douglas Gregor 657fdc8a4382164955c7b30d09f4ce46fc7e67659Douglas Gregorstruct X { }; 757fdc8a4382164955c7b30d09f4ce46fc7e67659Douglas Gregor 857fdc8a4382164955c7b30d09f4ce46fc7e67659Douglas Gregorvoid f() { 9f502d93b0ea970bfbd897e657f8d940a20984de2Anders Carlsson // CHECK: @_ZTS1X = linkonce_odr constant 10651f13cea278ec967336033dd032faef0e9fc2ecStephen Hines // CHECK: @_ZTI1X = linkonce_odr constant 1157fdc8a4382164955c7b30d09f4ce46fc7e67659Douglas Gregor (void)typeid(X&); 1257fdc8a4382164955c7b30d09f4ce46fc7e67659Douglas Gregor} 13