summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-nullptr.cpp
blob: 3c6f31615df6c58cf737e50db74f1f5ac46fffa5 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -S -std=c++0x -masm-verbose -g %s -o -| FileCheck %s

//CHECK: DW_TAG_unspecified_type
//CHECK-NEXT: "nullptr_t"

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