diff options
Diffstat (limited to 'test/CodeGenCXX/debug-info-nullptr.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-nullptr.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info-nullptr.cpp b/test/CodeGenCXX/debug-info-nullptr.cpp new file mode 100644 index 000000000000..588dc5f3c399 --- /dev/null +++ b/test/CodeGenCXX/debug-info-nullptr.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -S -std=c++11 -masm-verbose -g %s -o -| FileCheck %s + +//CHECK: DW_TAG_unspecified_type +//CHECK-NEXT: "nullptr_t" + +void foo() { + decltype(nullptr) t = 0; + } |