| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
|---|---|
| 2 | |
| 3 | #include <iostream> |
| 4 | #include <vector> |
| 5 | |
| 6 | int main() |
| 7 | { |
| 8 | std::cout << "Hello, world, from hosted C++ runtime library!"<< std::endl; |
| 9 | std::vector<int> v = { 1, 2, 3 }; |
| 10 | for (const auto &i : v) |
| 11 | std::cout << i << std::endl; |
| 12 | return 0; |
| 13 | } |
| 14 |