Running this test on Windows is problematic because of the driver running gcc. Would revising it to this have it still test what is needed?:

Index: test/SemaTemplate/example-dynarray.cpp

Yes, changing it to -emit-llvm-only is fine. If and when we really
care about C++ codegen a better place for such tests would be

- Daniel