Make this test a bit stricter.

The extra CHECK and CHECK-NEXT are there to show that we don't print a
linker private symbol on linux.