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