Sign in
ara-mdk
/
platform
/
ndk
/
ca1009383f5088546ae6a6cadf9951748084d493
/
.
/
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
;
}
}