Skip to content

Fix regress scanner tests on non-GCC/non-CLang compilers

Chun-wei Fan requested to merge fix-tests.msvc into master

Hi,

From the comments:

There is no way that non-GCC/CLang compilers will pass this test because the source position will never match the position that is in tests/scanner/Regress-1.0-expected.gir.

Fix this the fast way: define a macro according to the compiler check and update the corresponding source position

Please note that MSVC does not allow [static 10] constructs.

With blessings, thank you!

Merge request reports