mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-04 02:40:27 +08:00
Ensure stdout is newline terminated for status wrappers.
From-SVN: r233254
This commit is contained in:
parent
ca47576a26
commit
af583c4457
@ -20,6 +20,7 @@
|
||||
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
int
|
||||
main()
|
||||
@ -30,6 +31,7 @@ main()
|
||||
std::tuple<std::string, int, std::tuple<>> t2{ "Johnny", 5, {} };
|
||||
// { dg-final { regexp-test t2 {std::(__7::)?tuple containing = {\[1\] = "Johnny", \[2\] = 5, \[3\] = {<std::(__7::)?tuple<>> = empty std::(__7::)?tuple, <No data fields>}}} } }
|
||||
|
||||
std::cout << "\n";
|
||||
return 0; // Mark SPOT
|
||||
}
|
||||
|
||||
|
@ -144,6 +144,7 @@ main()
|
||||
use(uoms);
|
||||
use(uptr->s);
|
||||
|
||||
std::cout << "\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -93,6 +93,7 @@ main()
|
||||
__gnu_cxx::slist<int>::iterator slliter = sll.begin();
|
||||
// { dg-final { note-test slliter {47} } }
|
||||
|
||||
std::cout << "\n";
|
||||
return 0; // Mark SPOT
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <experimental/string_view>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
|
||||
using std::experimental::any;
|
||||
using std::experimental::optional;
|
||||
@ -66,6 +67,7 @@ main()
|
||||
any am = *om;
|
||||
// { dg-final { note-test am {std::experimental::any containing std::map with 3 elements = {[1] = 2, [3] = 4, [5] = 6}} } }
|
||||
|
||||
std::cout << "\n";
|
||||
return 0; // Mark SPOT
|
||||
}
|
||||
|
||||
|
@ -77,6 +77,7 @@ main()
|
||||
use(wp1);
|
||||
use(wp2);
|
||||
|
||||
std::cout << "\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -96,6 +96,7 @@ main()
|
||||
__gnu_cxx::slist<int>::iterator slliter = sll.begin();
|
||||
// { dg-final { note-test slliter {47} } }
|
||||
|
||||
std::cout << "\n";
|
||||
return 0; // Mark SPOT
|
||||
}
|
||||
|
||||
|
@ -93,6 +93,7 @@ main()
|
||||
__gnu_cxx::slist<int>::iterator slliter = sll.begin();
|
||||
// { dg-final { note-test slliter {47} } }
|
||||
|
||||
std::cout << "\n";
|
||||
return 0; // Mark SPOT
|
||||
}
|
||||
|
||||
|
@ -84,6 +84,7 @@ main()
|
||||
use(eums);
|
||||
use(uoms);
|
||||
|
||||
std::cout << "\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -287,6 +287,7 @@ main()
|
||||
placeholder(&unord2_ptr);
|
||||
placeholder(&unord2_holder);
|
||||
|
||||
std::cout << "\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user