summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-info-nullptr.cpp
blob: 5540a9217cbeea6cc694fba387f36462a9c35543 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -emit-llvm -std=c++11 -g %s -o -| FileCheck %s

void foo() {
  decltype(nullptr) t = 0;
}

// CHECK: !13 = metadata !{i32 {{.*}}, null, metadata !"nullptr_t", null, i32 0, i64 0, i64 0, i64 0, i32 0, i32 0} ; [ DW_TAG_unspecified_type ]