[libcxx-test] Add test for global constructors

Bug: 110158907
Change-Id: I277f75168d973d7109aed37d9702969394097f81
1 file changed