blob: da0016970bee9cb9907ff7701ef8cf45ab7fc136 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
namespace std {
class type_info;
}
struct X { };
void f() {
// CHECK: @_ZTS1X = weak_odr constant
// CHECK: @_ZTI1X = weak_odr constant
(void)typeid(X&);
}
|