forked from OSchip/llvm-project
[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:
parent
d9e74901fd
commit
c5018d46f2
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue