Tests compatibility with libc++.