Specify the C and C++ standards explicitly for this test. This avoids failures for drivers that default to older standards.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks!
For which platforms did you had issue?
This is suppose to work in all language modes (we might want to use C99/C++98 to make sure that's the case)
Comment Actions
We saw this failure on our internal SIE (PlayStation) platform. I just tested on x86_64-unknown-linux-gnu using C99 and C++98, though, and the test fails. It looks like this feature is restricted to more recent standard versions somehow.
Comment Actions
Okay, what's happening is that utf literals are only available for c++11 onward and the tests do not account for that.
Would you mind dropping the minimum version to C++11 and C11? I think that would be reasonable.
I could do a more extensive fix but I don't know how urgent this is for you