llvm-for-llvmta/tools/clang/test/CodeGenCXX/debug-info-nullptr.cpp

8 lines
212 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm -std=c++11 -debug-info-kind=limited %s -o -| FileCheck %s
void foo() {
decltype(nullptr) t = 0;
}
// CHECK: !DIBasicType(tag: DW_TAG_unspecified_type, name: "decltype(nullptr)")