From c2f94a4361722c1787782bcae9a3e7b9d848f7b1 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sun, 18 Jan 2015 00:37:04 +0000 Subject: [PATCH] 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/trunk@226384 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 bcfd0d02b4..8add4d2595 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 -- 2.40.0