From 50b73317314e889cf39c7b1d6cbf419fa7502f22 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 14 Apr 2012 14:01:31 +0000 Subject: Vendor import of clang trunk r154661: http://llvm.org/svn/llvm-project/cfe/trunk@r154661 --- test/CodeGenCXX/debug-info-nullptr.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'test/CodeGenCXX/debug-info-nullptr.cpp') diff --git a/test/CodeGenCXX/debug-info-nullptr.cpp b/test/CodeGenCXX/debug-info-nullptr.cpp index 588dc5f..5540a92 100644 --- a/test/CodeGenCXX/debug-info-nullptr.cpp +++ b/test/CodeGenCXX/debug-info-nullptr.cpp @@ -1,8 +1,7 @@ -// RUN: %clang_cc1 -S -std=c++11 -masm-verbose -g %s -o -| FileCheck %s - -//CHECK: DW_TAG_unspecified_type -//CHECK-NEXT: "nullptr_t" +// 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 ] -- cgit v1.1