blob: 8c59d93db805bc6a9f0fecd2e2664d81098d11ad [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <iostream>
void do_loop(volatile int n) {
for (int i = 0; i < n; i++) {
std::cout << "Hello world!" << std::endl;
}
}
int main() { do_loop(5); }