diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-27 07:11:43 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-27 07:11:43 +0000 |
commit | 98a9203d80b6a5ff90edf037b1595f553fc81b15 (patch) | |
tree | f41b594b781227e85969c85319deb0f43085ffea /test/CodeGenCXX/debug-info-nullptr.cpp | |
parent | df95d146c13cf02e106b32b01d147577d6d6b5a1 (diff) |
Move these test from checking assembly to checking LLVM IR. Should fix fallout
from r143097.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info-nullptr.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-nullptr.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/CodeGenCXX/debug-info-nullptr.cpp b/test/CodeGenCXX/debug-info-nullptr.cpp index 588dc5f3c3..49cc42c96f 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 720955, null, metadata !"nullptr_t", null, i32 0, i64 0, i64 0, i64 0, i32 0, i32 0} ; [ DW_TAG_unspecified_type ] |