Sign in
ara-mdk
/
platform
/
ndk
/
454a4461e791257580af5975656f16785dcac1ab
/
.
/
tests
/
device
/
test-cxx-init-array
/
jni
/
test.cpp
blob: 5ed614f7918ef3e65971c24db04c334149f8c56e [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
"global_ctor.h"
GlobalCtor
Obj
;
int
main
(
void
)
{
if
(
Obj
.
IsInitialized
())
{
puts
(
"Passed"
);
return
0
;
}
else
{
puts
(
"ERROR: Global variables are NOT initialized."
);
return
1
;
}
}