22 lines
274 B
C++
22 lines
274 B
C++
#include <stdint.h>
|
|
#include <unistd.h>
|
|
|
|
namespace {
|
|
struct MyType {
|
|
int data;
|
|
};
|
|
}
|
|
|
|
void helper_fn();
|
|
void helper_fn2();
|
|
|
|
int main(int argc, char* argv[]) {
|
|
MyType tmp = MyType{10};
|
|
while (tmp.data != 0) {
|
|
helper_fn();
|
|
helper_fn2();
|
|
tmp.data--;
|
|
}
|
|
return 0;
|
|
}
|