From: David Blaikie Date: Sun, 18 Jan 2015 00:37:04 +0000 (+0000) Subject: Refactor test so it's not lazily emitted on a global, simplifying ordering when more... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c39bbb7410db91829f74f8c06e93a1d288541bb;p=platform%2Fupstream%2Fllvm.git Refactor test so it's not lazily emitted on a global, simplifying ordering when more test cases are added llvm-svn: 226384 --- diff --git a/clang/test/CodeGenCXX/debug-info-line.cpp b/clang/test/CodeGenCXX/debug-info-line.cpp index bcfd0d0..8add4d2 100644 --- a/clang/test/CodeGenCXX/debug-info-line.cpp +++ b/clang/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