diff options
author | Tim Northover <tnorthover@apple.com> | 2018-07-31 13:19:01 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2018-07-31 13:19:01 +0000 |
commit | c5018d46f2da7671873457fef33a63c924b59175 (patch) | |
tree | db45dc59af0a284edd715bb83c4b1ac55b8aa14e | |
parent | d9e74901fd427d9a4fc02b2cf00c6f13165a1465 (diff) | |
download | bcm5719-llvm-c5018d46f2da7671873457fef33a63c924b59175.tar.gz bcm5719-llvm-c5018d46f2da7671873457fef33a63c924b59175.zip |
[debuginfo-tests] tweak new test to be compatible with wider range of compilers.
emplace_back was added in C++11, and its usage isn't critical to what's being
tested so using push_back instead will allow this test to work with more
compilers.
llvm-svn: 338371
-rw-r--r-- | debuginfo-tests/asan-deque.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debuginfo-tests/asan-deque.cpp b/debuginfo-tests/asan-deque.cpp index 19183d6cc15..6e6cdfd0e74 100644 --- a/debuginfo-tests/asan-deque.cpp +++ b/debuginfo-tests/asan-deque.cpp @@ -20,8 +20,8 @@ static void __attribute__((noinline, optnone)) escape(log_t &log) { int main() { log_t log; - log.emplace_back(1234); - log.emplace_back(56789); + log.push_back(1234); + log.push_back(56789); escape(log); // DEBUGGER: break 25 while (!log.empty()) { |