From 3cc7d366081cd15ff00bb9dbc488f3ea0c634f74 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Tue, 3 Feb 2015 23:58:19 +0000 Subject: Merging r226384: ------------------------------------------------------------------------ r226384 | dblaikie | 2015-01-17 16:37:04 -0800 (Sat, 17 Jan 2015) | 1 line Refactor test so it's not lazily emitted on a global, simplifying ordering when more test cases are added ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_36@228074 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/debug-info-line.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/CodeGenCXX/debug-info-line.cpp b/test/CodeGenCXX/debug-info-line.cpp index cce4a98861..ce05a8d2e9 100644 --- a/test/CodeGenCXX/debug-info-line.cpp +++ b/test/CodeGenCXX/debug-info-line.cpp @@ -171,15 +171,16 @@ struct f14 { }; // CHECK-LABEL: define -// CHECK-LABEL: define -// CHECK-LABEL: define -struct { +struct f14_use { // CHECK: call {{.*}}, !dbg [[DBG_F14_CTOR_CALL:![0-9]*]] #line 1600 f14 v = 1; -} f14_inst; + f14_use(); +}; + +f14_use::f14_use() = default; // CHECK-LABEL: define -- cgit v1.2.3