mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-10 19:34:29 +00:00
![Eric Christopher](/assets/img/avatar_default.png)
find forward declarations in the context that the actual definition will occur. rdar://11291658 llvm-svn: 155381
8 lines
250 B
C++
8 lines
250 B
C++
// RUN: %clang_cc1 -emit-llvm -std=c++11 -g %s -o -| FileCheck %s
|
|
|
|
void foo() {
|
|
decltype(nullptr) t = 0;
|
|
}
|
|
|
|
// CHECK: metadata !{i32 {{.*}}, null, metadata !"nullptr_t", null, i32 0, i64 0, i64 0, i64 0, i32 0, i32 0} ; [ DW_TAG_unspecified_type ]
|