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