diff options
author | Hans Wennborg <hans@hanshq.net> | 2015-02-03 23:58:19 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2015-02-03 23:58:19 +0000 |
commit | 3cc7d366081cd15ff00bb9dbc488f3ea0c634f74 (patch) | |
tree | ed6c25e767daf666cc9ca9611ed77d79928b0cff | |
parent | 52f839a502adf68b606bf81476912120ea71b13b (diff) |
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
-rw-r--r-- | test/CodeGenCXX/debug-info-line.cpp | 9 |
1 files 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 |