blob: 18fc576b1be1d6f3c280ee8fb5b01a12390f622d [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>
[[clang::optnone]] void do_loop(int n) {
for (int i = 0; i < n; i++) {
std::cout << "Hello world!" << std::endl;
}
}
int main() { do_loop(5); }