blob: c3a915c0291e92b36ae9051595b276b4e4390b82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <cstdio>
#include <string>
void check (std::string const& str) {
std::printf ("%s\n", str.c_str());
}
int main (int argc, char **argv) {
std::printf ("gcc %s\n", __VERSION__);
std::string test("gcc5/libstc++11");
check (test);
return 0;
}
|