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