[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
This commit is contained in:
Tim Northover 2018-07-31 13:19:01 +00:00
parent d9e74901fd
commit c5018d46f2
1 changed files with 2 additions and 2 deletions

View File

@ -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()) {