clang/test/CodeGenCXX/amdgpu-buffer-rsrc-typeinfo.cpp
raw| 1 | // REQUIRES: amdgpu-registered-target |
| 2 | // RUN: %clang_cc1 -triple amdgcn %s -emit-llvm -o - | FileCheck %s |
| 3 | |
| 4 | namespace std { class type_info; }; |
| 5 | |
| 6 | auto &b = typeid(__amdgpu_buffer_rsrc_t); |
| 7 | |
| 8 | // CHECK-DAG: @_ZTSu22__amdgpu_buffer_rsrc_t = {{.*}} c"u22__amdgpu_buffer_rsrc_t\00" |
| 9 | // CHECK-DAG: @_ZTIu22__amdgpu_buffer_rsrc_t = {{.*}} @_ZTVN10__cxxabiv123__fundamental_type_infoE, {{.*}} @_ZTSu22__amdgpu_buffer_rsrc_t |