diff --git a/tests/tests/imported/microsoft/.13388.rto/default.1.1.txt b/tests/tests/imported/microsoft/.13388.rto/default.1.1.txt new file mode 100644 index 0000000000..12ae0494a3 --- /dev/null +++ b/tests/tests/imported/microsoft/.13388.rto/default.1.1.txt @@ -0,0 +1,11 @@ +fe_only -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c +"Test_name.c", line 10: error: an empty initializer is invalid for an array with unspecified bound + int const list::values[] = { Pack... }; + ^ + detected during implicit definition of "const int list::values[] [with Pack=<>]" at line 14 + +"Test_name.c", line 14: warning: expression has no effect + list<>::values; // Error expected here, cannot create an array with 0 elements. + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.13389.rto/default.1.1.txt b/tests/tests/imported/microsoft/.13389.rto/default.1.1.txt new file mode 100644 index 0000000000..b8cb86a457 --- /dev/null +++ b/tests/tests/imported/microsoft/.13389.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++14 --microsoft Test_name.c +"Test_name.c", line 22: warning: variable "a" was declared but never referenced + OUTER<>::INNER<>::INNERINNER a; + ^ + diff --git a/tests/tests/imported/microsoft/.13464.rto/default.1.1.txt b/tests/tests/imported/microsoft/.13464.rto/default.1.1.txt new file mode 100644 index 0000000000..43b570e117 --- /dev/null +++ b/tests/tests/imported/microsoft/.13464.rto/default.1.1.txt @@ -0,0 +1,10 @@ +fe_only -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c +"Test_name.c", line 25: error: no instance of function template "AA::ff4" matches the argument list + argument types are: (int, C1, K) + AA::ff4(4,c,k); // ambiguous, should be an error + ^ +"Test_name.c", line 15: note: candidate function template "AA::ff4" failed deduction + static void ff4(int sizeOFPP, A ...a) + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.14266.rto/default.1.1.txt b/tests/tests/imported/microsoft/.14266.rto/default.1.1.txt new file mode 100644 index 0000000000..e2e5e4f8e2 --- /dev/null +++ b/tests/tests/imported/microsoft/.14266.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.14369.rto/default.1.1.txt b/tests/tests/imported/microsoft/.14369.rto/default.1.1.txt new file mode 100644 index 0000000000..0476d3d15b --- /dev/null +++ b/tests/tests/imported/microsoft/.14369.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c +"Test_name.c", line 9: warning: variable "pf2" was declared but never referenced + int (&pf2)(int(*pf)(int) noexcept) = g; + ^ + diff --git a/tests/tests/imported/microsoft/.14959.rto/default.1.1.txt b/tests/tests/imported/microsoft/.14959.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.14959.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.15163.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15163.rto/default.1.1.txt new file mode 100644 index 0000000000..298444405c --- /dev/null +++ b/tests/tests/imported/microsoft/.15163.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.15164.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15164.rto/default.1.1.txt new file mode 100644 index 0000000000..5c1500a5c1 --- /dev/null +++ b/tests/tests/imported/microsoft/.15164.rto/default.1.1.txt @@ -0,0 +1,34 @@ +fe_only -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c +"Test_name.c", line 5: error: default argument is not allowed + template < class ... T > void f ( T ... = { noexcept ( } ) + ^ + +"Test_name.c", line 5: error: expected an expression + template < class ... T > void f ( T ... = { noexcept ( } ) + ^ + +"Test_name.c", line 5: error: expected a ")" + template < class ... T > void f ( T ... = { noexcept ( } ) + ^ + +"Test_name.c", line 6: error: expected a ";" + friend void A :: ... f ( long ) ; + ^ + +"Test_name.c", line 8: error: expected a type specifier + void A :: f ( long AA<)> { } + ^ + +"Test_name.c", line 8: error: expected a ">" + void A :: f ( long AA<)> { } + ^ + +"Test_name.c", line 8: error: expected a "," + void A :: f ( long AA<)> { } + ^ + +"Test_name.c", line 8: error: expected a "{" + void A :: f ( long AA<)> { } + ^ + +8 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.15542.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15542.rto/default.1.1.txt new file mode 100644 index 0000000000..1a700592ec --- /dev/null +++ b/tests/tests/imported/microsoft/.15542.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --time_limit 5 Test_name.c diff --git a/tests/tests/imported/microsoft/.15555.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15555.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.15555.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.15558.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15558.rto/default.1.1.txt new file mode 100644 index 0000000000..298444405c --- /dev/null +++ b/tests/tests/imported/microsoft/.15558.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.15579.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15579.rto/default.1.1.txt new file mode 100644 index 0000000000..48a5349c78 --- /dev/null +++ b/tests/tests/imported/microsoft/.15579.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c +"Test_name.c", line 6: warning: variable "pf1" was set but never used + void (*pf1)() throw() = f; + ^ + diff --git a/tests/tests/imported/microsoft/.15596.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15596.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.15596.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.15597.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15597.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.15597.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.15601.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15601.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.15601.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.15869.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15869.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.15869.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.15906.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15906.rto/default.1.1.txt new file mode 100644 index 0000000000..26d93786c1 --- /dev/null +++ b/tests/tests/imported/microsoft/.15906.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.15919.rto/default.1.1.txt b/tests/tests/imported/microsoft/.15919.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.15919.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.16017.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16017.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.16017.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.16137.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16137.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.16137.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.16138.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16138.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.16138.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.16204.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16204.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.16204.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.16327.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16327.rto/default.1.1.txt new file mode 100644 index 0000000000..a5c1ecf3b5 --- /dev/null +++ b/tests/tests/imported/microsoft/.16327.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c +"Test_name.c", line 9: warning: variable "y" was declared but never referenced + constexpr int y = a.*pdm; + ^ + diff --git a/tests/tests/imported/microsoft/.16328.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16328.rto/default.1.1.txt new file mode 100644 index 0000000000..21a59d6edf --- /dev/null +++ b/tests/tests/imported/microsoft/.16328.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c +"Test_name.c", line 7: warning: variable "x" was declared but never referenced + constexpr int x = rzero(); + ^ + diff --git a/tests/tests/imported/microsoft/.16373.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16373.rto/default.1.1.txt new file mode 100644 index 0000000000..e2e5e4f8e2 --- /dev/null +++ b/tests/tests/imported/microsoft/.16373.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.16386.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16386.rto/default.1.1.txt new file mode 100644 index 0000000000..e2e5e4f8e2 --- /dev/null +++ b/tests/tests/imported/microsoft/.16386.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.16563.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16563.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.16563.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.16765.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16765.rto/default.1.1.txt new file mode 100644 index 0000000000..00aebbd6ec --- /dev/null +++ b/tests/tests/imported/microsoft/.16765.rto/default.1.1.txt @@ -0,0 +1,10 @@ +fe_only -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c +"Test_name.c", line 4: error: type name is not allowed + void f(decltype(T::g())) {} + ^ + +"Test_name.c", line 4: error: expected an expression + void f(decltype(T::g())) {} + ^ + +2 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.16822.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16822.rto/default.1.1.txt new file mode 100644 index 0000000000..f704e2095e --- /dev/null +++ b/tests/tests/imported/microsoft/.16822.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c +"Test_name.c", line 19: warning: variable "lambda" was set but never used + auto lambda = [](){return 5;}; + ^ + diff --git a/tests/tests/imported/microsoft/.16999.rto/default.1.1.txt b/tests/tests/imported/microsoft/.16999.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.16999.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.17074.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17074.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.17074.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.17331.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17331.rto/default.1.1.txt new file mode 100644 index 0000000000..427d1f9c3a --- /dev/null +++ b/tests/tests/imported/microsoft/.17331.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1903 Test_name.c diff --git a/tests/tests/imported/microsoft/.17331.rto/default.2.1.txt b/tests/tests/imported/microsoft/.17331.rto/default.2.1.txt new file mode 100644 index 0000000000..7dbdae99cd --- /dev/null +++ b/tests/tests/imported/microsoft/.17331.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.17333.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17333.rto/default.1.1.txt new file mode 100644 index 0000000000..49c4c69bd4 --- /dev/null +++ b/tests/tests/imported/microsoft/.17333.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 --microsoft_v 1900 Test_name.c diff --git a/tests/tests/imported/microsoft/.17334.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17334.rto/default.1.1.txt new file mode 100644 index 0000000000..65d0ef54d8 --- /dev/null +++ b/tests/tests/imported/microsoft/.17334.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1903 Test_name.c diff --git a/tests/tests/imported/microsoft/.17336.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17336.rto/default.1.1.txt new file mode 100644 index 0000000000..65d0ef54d8 --- /dev/null +++ b/tests/tests/imported/microsoft/.17336.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1903 Test_name.c diff --git a/tests/tests/imported/microsoft/.17448.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17448.rto/default.1.1.txt new file mode 100644 index 0000000000..392eacb9bd --- /dev/null +++ b/tests/tests/imported/microsoft/.17448.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1903 Test_name.c +"Test_name.c", line 9: warning: exception specification for virtual function "Derived::f" is incompatible with that of overridden function "Base::f" + int f() { return 47; } + ^ + diff --git a/tests/tests/imported/microsoft/.17453.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17453.rto/default.1.1.txt new file mode 100644 index 0000000000..65d0ef54d8 --- /dev/null +++ b/tests/tests/imported/microsoft/.17453.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1903 Test_name.c diff --git a/tests/tests/imported/microsoft/.17507.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17507.rto/default.1.1.txt new file mode 100644 index 0000000000..0795b17e80 --- /dev/null +++ b/tests/tests/imported/microsoft/.17507.rto/default.1.1.txt @@ -0,0 +1,10 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1903 Test_name.c +"Test_name.c", line 15: error: A is not a template + using A::A; + ^ + +"Test_name.c", line 20: error: no suitable constructor exists to convert from "int" to "B<1>" + B<1> test = 5; + ^ + +2 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.17806.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17806.rto/default.1.1.txt new file mode 100644 index 0000000000..10d7cd448a --- /dev/null +++ b/tests/tests/imported/microsoft/.17806.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1910 Test_name.c +"Test_name.c", line 7: error: no suitable conversion function from "const S" to "int" exists + int i = (const S)0; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.17807.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17807.rto/default.1.1.txt new file mode 100644 index 0000000000..4ea70dd359 --- /dev/null +++ b/tests/tests/imported/microsoft/.17807.rto/default.1.1.txt @@ -0,0 +1,10 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1910 Test_name.c +"Test_name.c", line 12: error: no instance of function template "f" matches the argument list + argument types are: (int) + f(10); + ^ +"Test_name.c", line 8: note: candidate function template "f" failed deduction + bool f(T x); + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.17877.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17877.rto/default.1.1.txt new file mode 100644 index 0000000000..3933f9bf98 --- /dev/null +++ b/tests/tests/imported/microsoft/.17877.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1910 Test_name.c diff --git a/tests/tests/imported/microsoft/.17914.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17914.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.17914.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.17925.rto/default.1.1.txt b/tests/tests/imported/microsoft/.17925.rto/default.1.1.txt new file mode 100644 index 0000000000..66a1cb1c26 --- /dev/null +++ b/tests/tests/imported/microsoft/.17925.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1910 Test_name.c diff --git a/tests/tests/imported/microsoft/.18053.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18053.rto/default.1.1.txt new file mode 100644 index 0000000000..3933f9bf98 --- /dev/null +++ b/tests/tests/imported/microsoft/.18053.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1910 Test_name.c diff --git a/tests/tests/imported/microsoft/.18058.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18058.rto/default.1.1.txt new file mode 100644 index 0000000000..b921d6c913 --- /dev/null +++ b/tests/tests/imported/microsoft/.18058.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.18089.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18089.rto/default.1.1.txt new file mode 100644 index 0000000000..3933f9bf98 --- /dev/null +++ b/tests/tests/imported/microsoft/.18089.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1910 Test_name.c diff --git a/tests/tests/imported/microsoft/.18091.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18091.rto/default.1.1.txt new file mode 100644 index 0000000000..3933f9bf98 --- /dev/null +++ b/tests/tests/imported/microsoft/.18091.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1910 Test_name.c diff --git a/tests/tests/imported/microsoft/.18092.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18092.rto/default.1.1.txt new file mode 100644 index 0000000000..e2636830a6 --- /dev/null +++ b/tests/tests/imported/microsoft/.18092.rto/default.1.1.txt @@ -0,0 +1,9 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1910 Test_name.c +"Test_name.c", line 13: error: expression must have a constant value + static_assert(S().g(), ""); + ^ +"Test_name.c", line 11: note: invalid access to member "T::n" in object of complete type "S" + return this->*static_cast(&T::n); + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.18493.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18493.rto/default.1.1.txt new file mode 100644 index 0000000000..8a6d662ad7 --- /dev/null +++ b/tests/tests/imported/microsoft/.18493.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1911 Test_name.c diff --git a/tests/tests/imported/microsoft/.18497.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18497.rto/default.1.1.txt new file mode 100644 index 0000000000..6cbd97ece6 --- /dev/null +++ b/tests/tests/imported/microsoft/.18497.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++11 Test_name.c diff --git a/tests/tests/imported/microsoft/.18588.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18588.rto/default.1.1.txt new file mode 100644 index 0000000000..8a6d662ad7 --- /dev/null +++ b/tests/tests/imported/microsoft/.18588.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1911 Test_name.c diff --git a/tests/tests/imported/microsoft/.18598.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18598.rto/default.1.1.txt new file mode 100644 index 0000000000..3990549dd1 --- /dev/null +++ b/tests/tests/imported/microsoft/.18598.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --ms_c++17 --microsoft_version 1911 Test_name.c diff --git a/tests/tests/imported/microsoft/.18654.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18654.rto/default.1.1.txt new file mode 100644 index 0000000000..7b0bb43f96 --- /dev/null +++ b/tests/tests/imported/microsoft/.18654.rto/default.1.1.txt @@ -0,0 +1,9 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1911 Test_name.c +"Test_name.c", line 12: error: more than one instance of overloaded function "f" matches the argument list: + function template "void f(T *...)" (declared at line 4) + function template "int f(const T &)" (declared at line 7) + argument types are: (int *) + f(&i); + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.18865.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18865.rto/default.1.1.txt new file mode 100644 index 0000000000..06a70ff2bd --- /dev/null +++ b/tests/tests/imported/microsoft/.18865.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.18866.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18866.rto/default.1.1.txt new file mode 100644 index 0000000000..298444405c --- /dev/null +++ b/tests/tests/imported/microsoft/.18866.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.18907.rto/default.1.1.txt b/tests/tests/imported/microsoft/.18907.rto/default.1.1.txt new file mode 100644 index 0000000000..69d73ef740 --- /dev/null +++ b/tests/tests/imported/microsoft/.18907.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1913 Test_name.c diff --git a/tests/tests/imported/microsoft/.19031.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19031.rto/default.1.1.txt new file mode 100644 index 0000000000..57b411fc6a --- /dev/null +++ b/tests/tests/imported/microsoft/.19031.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --ms_c++latest --microsoft_version 1912 Test_name.c diff --git a/tests/tests/imported/microsoft/.19084.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19084.rto/default.1.1.txt new file mode 100644 index 0000000000..a36aa62897 --- /dev/null +++ b/tests/tests/imported/microsoft/.19084.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1912 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.19127.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19127.rto/default.1.1.txt new file mode 100644 index 0000000000..25e610b7ac --- /dev/null +++ b/tests/tests/imported/microsoft/.19127.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --clang --clang_version 30800 --ms_compatibility Test_name.c diff --git a/tests/tests/imported/microsoft/.19152.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19152.rto/default.1.1.txt new file mode 100644 index 0000000000..f762df6e09 --- /dev/null +++ b/tests/tests/imported/microsoft/.19152.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --clang --c++17 Test_name.c +"Test_name.c", line 8: error: identifier "x" is undefined + x.g({ + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.19264.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19264.rto/default.1.1.txt new file mode 100644 index 0000000000..725e405f9d --- /dev/null +++ b/tests/tests/imported/microsoft/.19264.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1913 Test_name.c diff --git a/tests/tests/imported/microsoft/.19294.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19294.rto/default.1.1.txt new file mode 100644 index 0000000000..c1d6e7d5f1 --- /dev/null +++ b/tests/tests/imported/microsoft/.19294.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft --ms_c++17 --microsoft_version 1914 Test_name.c diff --git a/tests/tests/imported/microsoft/.19297.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19297.rto/default.1.1.txt new file mode 100644 index 0000000000..5e10ddd9ae --- /dev/null +++ b/tests/tests/imported/microsoft/.19297.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --microsoft --ms_c++17 --microsoft_version 1914 Test_name.c +"Test_name.c", line 11: warning: structured binding "x" was declared but never referenced + for (auto [x, y] : { t{ 1, 2 },{ 3,4 } }) { + ^ + diff --git a/tests/tests/imported/microsoft/.19387.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19387.rto/default.1.1.txt new file mode 100644 index 0000000000..bbca553dc0 --- /dev/null +++ b/tests/tests/imported/microsoft/.19387.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1913 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.19388.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19388.rto/default.1.1.txt new file mode 100644 index 0000000000..8a349e25f3 --- /dev/null +++ b/tests/tests/imported/microsoft/.19388.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++11 Test_name.c diff --git a/tests/tests/imported/microsoft/.19445.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19445.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.19445.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.19446.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19446.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.19446.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.19449.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19449.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.19449.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.19461.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19461.rto/default.1.1.txt new file mode 100644 index 0000000000..01bd2f87d0 --- /dev/null +++ b/tests/tests/imported/microsoft/.19461.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 Test_name.c diff --git a/tests/tests/imported/microsoft/.19570.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19570.rto/default.1.1.txt new file mode 100644 index 0000000000..c88cad84fb --- /dev/null +++ b/tests/tests/imported/microsoft/.19570.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.19571.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19571.rto/default.1.1.txt new file mode 100644 index 0000000000..c88cad84fb --- /dev/null +++ b/tests/tests/imported/microsoft/.19571.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.19572.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19572.rto/default.1.1.txt new file mode 100644 index 0000000000..7c432c337b --- /dev/null +++ b/tests/tests/imported/microsoft/.19572.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 --ms_c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.19575.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19575.rto/default.1.1.txt new file mode 100644 index 0000000000..d55ea94a79 --- /dev/null +++ b/tests/tests/imported/microsoft/.19575.rto/default.1.1.txt @@ -0,0 +1,18 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1914 --ms_c++14 Test_name.c +"Test_name.c", line 17: error: more than one instance of constructor "D1::D1" matches the argument list: + function "B1::B1(double)" (declared at line 5), inherited via using decl at line 13 + function "B2::B2(double)" (declared at line 9), inherited via using decl at line 14 + argument types are: (double) + D1 d(1.0); + ^ +"Test_name.c", line 12: note: function "D1::D1(const D1 &)" does not match because argument #1 does not match parameter + struct D1 : B1, B2 { + ^ +"Test_name.c", line 12: note: function "D1::D1(D1 &&)" does not match because argument #1 does not match parameter + struct D1 : B1, B2 { + ^ +"Test_name.c", line 12: note: number of parameters of function "D1::D1()" does not match the call + struct D1 : B1, B2 { + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.19575.rto/default.2.1.txt b/tests/tests/imported/microsoft/.19575.rto/default.2.1.txt new file mode 100644 index 0000000000..37c695a4df --- /dev/null +++ b/tests/tests/imported/microsoft/.19575.rto/default.2.1.txt @@ -0,0 +1,18 @@ +fe_only -DTEST_NUMBER=2 --microsoft_version 1914 --ms_c++17 Test_name.c +"Test_name.c", line 17: error: more than one instance of constructor "D1::D1" matches the argument list: + function "B1::B1(double)" (declared at line 5), inherited via using decl at line 13 + function "B2::B2(double)" (declared at line 9), inherited via using decl at line 14 + argument types are: (double) + D1 d(1.0); + ^ +"Test_name.c", line 12: note: function "D1::D1(const D1 &)" does not match because argument #1 does not match parameter + struct D1 : B1, B2 { + ^ +"Test_name.c", line 12: note: function "D1::D1(D1 &&)" does not match because argument #1 does not match parameter + struct D1 : B1, B2 { + ^ +"Test_name.c", line 12: note: number of parameters of function "D1::D1()" does not match the call + struct D1 : B1, B2 { + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.19666.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19666.rto/default.1.1.txt new file mode 100644 index 0000000000..be16f9439e --- /dev/null +++ b/tests/tests/imported/microsoft/.19666.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 Test_name.c +"Test_name.c", line 8: warning: expression has no effect + sizeof(*__countof_helper(r)); + ^ + diff --git a/tests/tests/imported/microsoft/.19682.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19682.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.19682.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.19742.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19742.rto/default.1.1.txt new file mode 100644 index 0000000000..6a43ac0b7f --- /dev/null +++ b/tests/tests/imported/microsoft/.19742.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++latest --microsoft_v 1914 Test_name.c diff --git a/tests/tests/imported/microsoft/.19750.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19750.rto/default.1.1.txt new file mode 100644 index 0000000000..01bd2f87d0 --- /dev/null +++ b/tests/tests/imported/microsoft/.19750.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 Test_name.c diff --git a/tests/tests/imported/microsoft/.19818.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19818.rto/default.1.1.txt new file mode 100644 index 0000000000..e4b8e0789b --- /dev/null +++ b/tests/tests/imported/microsoft/.19818.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --c++17 Test_name.c +"Test_name.c", line 13: warning: variable "a" was declared but never referenced + constexpr ABCD a{ 123 }; + ^ + diff --git a/tests/tests/imported/microsoft/.19820.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19820.rto/default.1.1.txt new file mode 100644 index 0000000000..43bb995b7b --- /dev/null +++ b/tests/tests/imported/microsoft/.19820.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.19874.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19874.rto/default.1.1.txt new file mode 100644 index 0000000000..16e88522c5 --- /dev/null +++ b/tests/tests/imported/microsoft/.19874.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --ms_c++17 --microsoft_version=1914 Test_name.c +"Test_name.c", line 11: warning: variable "foo" was declared but never referenced + const auto foo = { + ^ + diff --git a/tests/tests/imported/microsoft/.19888.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19888.rto/default.1.1.txt new file mode 100644 index 0000000000..eee1bfff08 --- /dev/null +++ b/tests/tests/imported/microsoft/.19888.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1914 Test_name.c diff --git a/tests/tests/imported/microsoft/.19898.rto/default.1.1.txt b/tests/tests/imported/microsoft/.19898.rto/default.1.1.txt new file mode 100644 index 0000000000..2b718f84d4 --- /dev/null +++ b/tests/tests/imported/microsoft/.19898.rto/default.1.1.txt @@ -0,0 +1,9 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version=1914 --ms_c++17 Test_name.c +"Test_name.c", line 17: warning: floating-point value cannot be represented exactly + constexpr double hex_double = 0x1.fffffd00000004p0; + ^ + +"Test_name.c", line 18: warning: floating-point value cannot be represented exactly + constexpr float hex_float = 0x1.fffffd00000004p0f; + ^ + diff --git a/tests/tests/imported/microsoft/.20058.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20058.rto/default.1.1.txt new file mode 100644 index 0000000000..cc6f50a593 --- /dev/null +++ b/tests/tests/imported/microsoft/.20058.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++17 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.20141.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20141.rto/default.1.1.txt new file mode 100644 index 0000000000..cc6f50a593 --- /dev/null +++ b/tests/tests/imported/microsoft/.20141.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++17 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.20142.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20142.rto/default.1.1.txt new file mode 100644 index 0000000000..43bb995b7b --- /dev/null +++ b/tests/tests/imported/microsoft/.20142.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.20143.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20143.rto/default.1.1.txt new file mode 100644 index 0000000000..fe6aa47153 --- /dev/null +++ b/tests/tests/imported/microsoft/.20143.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft --microsoft_bugs --microsoft_version 1914 --no_ms_permissive --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.20144.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20144.rto/default.1.1.txt new file mode 100644 index 0000000000..83f34a5bbc --- /dev/null +++ b/tests/tests/imported/microsoft/.20144.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.20153.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20153.rto/default.1.1.txt new file mode 100644 index 0000000000..01bd2f87d0 --- /dev/null +++ b/tests/tests/imported/microsoft/.20153.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 Test_name.c diff --git a/tests/tests/imported/microsoft/.20180.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20180.rto/default.1.1.txt new file mode 100644 index 0000000000..e17d6d4aa2 --- /dev/null +++ b/tests/tests/imported/microsoft/.20180.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 Test_name.c +"Test_name.c", line 12: warning: variable "value" was declared but never referenced + constexpr GUID value = __uuidof(IUnknown); + ^ + diff --git a/tests/tests/imported/microsoft/.20184.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20184.rto/default.1.1.txt new file mode 100644 index 0000000000..a283cb3c39 --- /dev/null +++ b/tests/tests/imported/microsoft/.20184.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft Test_name.c +"Test_name.c", line 7: warning: base class dllexport/dllimport specification differs from that of the derived class + struct __declspec(dllexport) Timestamp : time_point + ^ + diff --git a/tests/tests/imported/microsoft/.20191.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20191.rto/default.1.1.txt new file mode 100644 index 0000000000..410697a5db --- /dev/null +++ b/tests/tests/imported/microsoft/.20191.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 --c++17 Test_name.c +"Test_name.c", line 24: warning: structured binding "k" was declared but never referenced + const auto &[k, v] = tag; + ^ + diff --git a/tests/tests/imported/microsoft/.20230.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20230.rto/default.1.1.txt new file mode 100644 index 0000000000..c60b30a52a --- /dev/null +++ b/tests/tests/imported/microsoft/.20230.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.20300.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20300.rto/default.1.1.txt new file mode 100644 index 0000000000..7768b83b07 --- /dev/null +++ b/tests/tests/imported/microsoft/.20300.rto/default.1.1.txt @@ -0,0 +1,25 @@ +fe_only -DTEST_NUMBER=1 --microsoft -E Test_name.c +#line 1 "Test_name.c" + + + + + + + + + + + + + + + + + + +void* a = L"abc"; +void* b = u8"def"; +void* c = L"ghi"; +void* d = L"" "jkl"; +void* e = L"mno"; diff --git a/tests/tests/imported/microsoft/.20373.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20373.rto/default.1.1.txt new file mode 100644 index 0000000000..5edaf102f0 --- /dev/null +++ b/tests/tests/imported/microsoft/.20373.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 2000 Test_name.c diff --git a/tests/tests/imported/microsoft/.20478.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20478.rto/default.1.1.txt new file mode 100644 index 0000000000..a50a8b0ba3 --- /dev/null +++ b/tests/tests/imported/microsoft/.20478.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --gnu_version 60000 Test_name.c +"Test_name.c", line 8: warning: variable "x1" was declared but never referenced + constexpr x x1{ 3 }; + ^ + diff --git a/tests/tests/imported/microsoft/.20593.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20593.rto/default.1.1.txt new file mode 100644 index 0000000000..c88cad84fb --- /dev/null +++ b/tests/tests/imported/microsoft/.20593.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1914 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.20594.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20594.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.20594.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.20885.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20885.rto/default.1.1.txt new file mode 100644 index 0000000000..ff75d50b2b --- /dev/null +++ b/tests/tests/imported/microsoft/.20885.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1920 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.20927.rto/default.1.1.txt b/tests/tests/imported/microsoft/.20927.rto/default.1.1.txt new file mode 100644 index 0000000000..00b33e2312 --- /dev/null +++ b/tests/tests/imported/microsoft/.20927.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++11 --microsoft Test_name.c +"Test_name.c", line 8: warning: variable "f" was set but never used + Foo f; + ^ + diff --git a/tests/tests/imported/microsoft/.21002.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21002.rto/default.1.1.txt new file mode 100644 index 0000000000..fc668395dd --- /dev/null +++ b/tests/tests/imported/microsoft/.21002.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1920 Test_name.c diff --git a/tests/tests/imported/microsoft/.21122.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21122.rto/default.1.1.txt new file mode 100644 index 0000000000..c3d27740d6 --- /dev/null +++ b/tests/tests/imported/microsoft/.21122.rto/default.1.1.txt @@ -0,0 +1,18 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1920 Test_name.c +"Test_name.c", line 12: error: an "asm" declaration is not allowed here + } + ^ + +"Test_name.c", line 5: warning: variable "y" was declared but never referenced + int y = 0; + ^ + +"Test_name.c", line 6: warning: variable "x" was declared but never referenced + int x = 0; + ^ + +"Test_name.c", line 7: warning: variable "lambda" was declared but never referenced + auto lambda = [&] + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.21176.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21176.rto/default.1.1.txt new file mode 100644 index 0000000000..f81ff29bb6 --- /dev/null +++ b/tests/tests/imported/microsoft/.21176.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++17 --microsoft_version 1920 Test_name.c +"Test_name.c", line 7: warning: variable "r" was declared but never referenced + constexpr auto r = [](const S& ss) { + ^ + diff --git a/tests/tests/imported/microsoft/.21278.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21278.rto/default.1.1.txt new file mode 100644 index 0000000000..15220e882d --- /dev/null +++ b/tests/tests/imported/microsoft/.21278.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --ms_permissive Test_name.c diff --git a/tests/tests/imported/microsoft/.21309.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21309.rto/default.1.1.txt new file mode 100644 index 0000000000..0a6d51679d --- /dev/null +++ b/tests/tests/imported/microsoft/.21309.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft --microsoft_bugs --no_ms_permissive Test_name.c diff --git a/tests/tests/imported/microsoft/.21344.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21344.rto/default.1.1.txt new file mode 100644 index 0000000000..8f423a9d27 --- /dev/null +++ b/tests/tests/imported/microsoft/.21344.rto/default.1.1.txt @@ -0,0 +1,28 @@ +cpfe -DTEST_NUMBER=1 --microsoft -E Test_name.c +#line 1 "Test_name.c" + + + + + + + + + + + + + + + + +#line 24 "Test_name.c" + +#line 32 "Test_name.c" + + + +int main() { + do { if (!(true)) { std::cout << "Assertion on condition " << "true" << "\n"; abort(); } } while(false); + do { if (!(false)) { std::cout << "Assertion on condition " << "false" << " with message " << "Condition cannot be false" << "\n"; abort(); } } while(false); +} diff --git a/tests/tests/imported/microsoft/.21396.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21396.rto/default.1.1.txt new file mode 100644 index 0000000000..fc668395dd --- /dev/null +++ b/tests/tests/imported/microsoft/.21396.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1920 Test_name.c diff --git a/tests/tests/imported/microsoft/.21420.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21420.rto/default.1.1.txt new file mode 100644 index 0000000000..1a230a6e34 --- /dev/null +++ b/tests/tests/imported/microsoft/.21420.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1922 Test_name.c diff --git a/tests/tests/imported/microsoft/.21432.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21432.rto/default.1.1.txt new file mode 100644 index 0000000000..84d94c7b30 --- /dev/null +++ b/tests/tests/imported/microsoft/.21432.rto/default.1.1.txt @@ -0,0 +1,9 @@ +cpfe -DTEST_NUMBER=1 --c++20 --microsoft Test_name.c +"Test_name.c", line 19: warning: variable "a" was declared but never referenced + Agg a{ .a = 1 }; // OK + ^ + +"Test_name.c", line 20: warning: variable "b" was declared but never referenced + Agg b{ .b = 1 }; // spurious error: class "Agg::" has no field 'b' + ^ + diff --git a/tests/tests/imported/microsoft/.21433.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21433.rto/default.1.1.txt new file mode 100644 index 0000000000..5f8e9eea0d --- /dev/null +++ b/tests/tests/imported/microsoft/.21433.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1922 Test_name.c +"Test_name.c", line 19: warning: variable "a" was declared but never referenced + Agg a { 1 }; + ^ + diff --git a/tests/tests/imported/microsoft/.21434.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21434.rto/default.1.1.txt new file mode 100644 index 0000000000..afe6a7c8a8 --- /dev/null +++ b/tests/tests/imported/microsoft/.21434.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 11: error: copy-list-initialization cannot use a constructor marked "explicit" + S ss1 { {3} }; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.21553.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21553.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.21553.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.21556.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21556.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.21556.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.21660.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21660.rto/default.1.1.txt new file mode 100644 index 0000000000..6a0b6cb61e --- /dev/null +++ b/tests/tests/imported/microsoft/.21660.rto/default.1.1.txt @@ -0,0 +1,14 @@ +fe_only -DTEST_NUMBER=1 --clang Test_name.c +"Test_name.c", line 14: error: "E" is ambiguous + E e; + ^ + +"Test_name.c", line 14: error: type name is not allowed + E e; + ^ + +"Test_name.c", line 14: error: identifier "e" is undefined + E e; + ^ + +3 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.21766.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21766.rto/default.1.1.txt new file mode 100644 index 0000000000..26a663b742 --- /dev/null +++ b/tests/tests/imported/microsoft/.21766.rto/default.1.1.txt @@ -0,0 +1,9 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1923 Test_name.c +"Test_name.c", line 5: warning: function call is not allowed in a constant expression + #elif __has_extension(attribute_deprecated_with_message) + ^ + +"Test_name.c", line 10: warning: #warning directive: use __declspec syntax + #warning use __declspec syntax + ^ + diff --git a/tests/tests/imported/microsoft/.21811.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21811.rto/default.1.1.txt new file mode 100644 index 0000000000..5a8a618712 --- /dev/null +++ b/tests/tests/imported/microsoft/.21811.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 Test_name.c +"Test_name.c", line 5: error: defining an implicitly declared member function is not allowed + an_object::an_object() { } + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.21811.rto/edg_x86_64_cp.1.1.txt b/tests/tests/imported/microsoft/.21811.rto/edg_x86_64_cp.1.1.txt new file mode 100644 index 0000000000..794e43bf31 --- /dev/null +++ b/tests/tests/imported/microsoft/.21811.rto/edg_x86_64_cp.1.1.txt @@ -0,0 +1,10 @@ +fe_only -DTEST_NUMBER=1 Test_name.c +"Test_name.c", line 5: error: defining an implicitly declared member function is not allowed + an_object::an_object() { } + ^ + +"Test_name.c", line 5: error: allowing all exceptions is incompatible with previous function "an_object::an_object" + an_object::an_object() { } + ^ + +2 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.21823.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21823.rto/default.1.1.txt new file mode 100644 index 0000000000..5353efb8ce --- /dev/null +++ b/tests/tests/imported/microsoft/.21823.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1912 --ms_c++17 Test_name.c +"Test_name.c", line 14: error: function "B::operator=(const B &) noexcept" (declared at line 10) cannot be referenced -- it is a deleted function + b2 = b1; // error: attempting to reference a deleted function. + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.21825.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21825.rto/default.1.1.txt new file mode 100644 index 0000000000..516a425f0d --- /dev/null +++ b/tests/tests/imported/microsoft/.21825.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1914 --ms_c++17 Test_name.c +"Test_name.c", line 14: error: function "B::B(int)" (declared at line 11) cannot be referenced -- it is a deleted function + B b(42L); + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.21829.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21829.rto/default.1.1.txt new file mode 100644 index 0000000000..ea9a87a9cd --- /dev/null +++ b/tests/tests/imported/microsoft/.21829.rto/default.1.1.txt @@ -0,0 +1,10 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1915 --no_ms_permissive Test_name.c +"Test_name.c", line 12: error: type name is not allowed + Base::foo(); + ^ + +"Test_name.c", line 12: error: expected an expression + Base::foo(); + ^ + +2 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.21846.rto/default.1.1.txt b/tests/tests/imported/microsoft/.21846.rto/default.1.1.txt new file mode 100644 index 0000000000..e2e5e4f8e2 --- /dev/null +++ b/tests/tests/imported/microsoft/.21846.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.22141.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22141.rto/default.1.1.txt new file mode 100644 index 0000000000..2c5dfe260b --- /dev/null +++ b/tests/tests/imported/microsoft/.22141.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1925 --c++17 Test_name.c +"Test_name.c", line 22: warning: variable "value_span" was declared but never referenced + const span value_span{ values }; + ^ + diff --git a/tests/tests/imported/microsoft/.22198.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22198.rto/default.1.1.txt new file mode 100644 index 0000000000..ac831e5543 --- /dev/null +++ b/tests/tests/imported/microsoft/.22198.rto/default.1.1.txt @@ -0,0 +1,18 @@ +fe_only -DTEST_NUMBER=1 --c++11 Test_name.c +"Test_name.c", line 7: error: variable template "A::foo" is not a valid class member template + static constexpr bool foo = ns::does_not_exist; + ^ + +"Test_name.c", line 7: error: variable template "A::T" is not a valid class member template + static constexpr bool foo = ns::does_not_exist; + ^ + +"Test_name.c", line 7: error: a constexpr static data member declaration requires an in-class initializer + static constexpr bool foo = ns::does_not_exist; + ^ + +"Test_name.c", line 7: error: expected a ";" + static constexpr bool foo = ns::does_not_exist; + ^ + +4 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.22248.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22248.rto/default.1.1.txt new file mode 100644 index 0000000000..e2e5e4f8e2 --- /dev/null +++ b/tests/tests/imported/microsoft/.22248.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.22255.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22255.rto/default.1.1.txt new file mode 100644 index 0000000000..e293a50e46 --- /dev/null +++ b/tests/tests/imported/microsoft/.22255.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version 1926 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.22282.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22282.rto/default.1.1.txt new file mode 100644 index 0000000000..0302d423ef --- /dev/null +++ b/tests/tests/imported/microsoft/.22282.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1926 Test_name.c diff --git a/tests/tests/imported/microsoft/.22301.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22301.rto/default.1.1.txt new file mode 100644 index 0000000000..ff02c88f68 --- /dev/null +++ b/tests/tests/imported/microsoft/.22301.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1300 --c++11 Test_name.c diff --git a/tests/tests/imported/microsoft/.22423.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22423.rto/default.1.1.txt new file mode 100644 index 0000000000..795671419e --- /dev/null +++ b/tests/tests/imported/microsoft/.22423.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1926 --ms_c++latest Test_name.c +"Test_name.c", line 3: warning: expression has no effect + __func__; + ^ + diff --git a/tests/tests/imported/microsoft/.22429.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22429.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.22429.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.22471.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22471.rto/default.1.1.txt new file mode 100644 index 0000000000..ef8605fda7 --- /dev/null +++ b/tests/tests/imported/microsoft/.22471.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 13: warning: variable "arr" was set but never used + int arr[3]{10, 20, 30}; + ^ + diff --git a/tests/tests/imported/microsoft/.22472.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22472.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.22472.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.22555.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22555.rto/default.1.1.txt new file mode 100644 index 0000000000..344e955940 --- /dev/null +++ b/tests/tests/imported/microsoft/.22555.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --c++17 --parse --microsoft Test_name.c +"Test_name.c", line 10: error: no instance of constructor "lock_guard" matches the argument list + lock_guard g; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.22599.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22599.rto/default.1.1.txt new file mode 100644 index 0000000000..d6ee159338 --- /dev/null +++ b/tests/tests/imported/microsoft/.22599.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --modules Test_name.c diff --git a/tests/tests/imported/microsoft/.22605.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22605.rto/default.1.1.txt new file mode 100644 index 0000000000..07e5d9abcb --- /dev/null +++ b/tests/tests/imported/microsoft/.22605.rto/default.1.1.txt @@ -0,0 +1,7 @@ +cpfe -DTEST_NUMBER=1 --c++14 --il Test_name.c +initializer_range + start.seq: 4 + start.column: 12 + end.seq: 4 + end.column: 18 + diff --git a/tests/tests/imported/microsoft/.22605.rto/edg_x86_64_cp.1.1.txt b/tests/tests/imported/microsoft/.22605.rto/edg_x86_64_cp.1.1.txt new file mode 100644 index 0000000000..65b0093f0e --- /dev/null +++ b/tests/tests/imported/microsoft/.22605.rto/edg_x86_64_cp.1.1.txt @@ -0,0 +1,7 @@ +cpfe -DTEST_NUMBER=1 --c++14 --il Test_name.c +initializer_range + start.seq: 5 + start.column: 8 + end.seq: 5 + end.column: 14 + diff --git a/tests/tests/imported/microsoft/.22700.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22700.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.22700.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.22808.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22808.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.22808.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.22878.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22878.rto/default.1.1.txt new file mode 100644 index 0000000000..c460754d60 --- /dev/null +++ b/tests/tests/imported/microsoft/.22878.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 3: warning: missing return statement at end of non-void function "coerce(T &&)->T &&" + auto coerce(T &&) -> T && requires true {} + ^ + diff --git a/tests/tests/imported/microsoft/.22941.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22941.rto/default.1.1.txt new file mode 100644 index 0000000000..32fc82e916 --- /dev/null +++ b/tests/tests/imported/microsoft/.22941.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.22986.rto/default.1.1.txt b/tests/tests/imported/microsoft/.22986.rto/default.1.1.txt new file mode 100644 index 0000000000..32fc82e916 --- /dev/null +++ b/tests/tests/imported/microsoft/.22986.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23024.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23024.rto/default.1.1.txt new file mode 100644 index 0000000000..ee0cdbaad1 --- /dev/null +++ b/tests/tests/imported/microsoft/.23024.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --microsoft Test_name.c +"Test_name.c", line 3: warning: expression has no effect + void اختبار() { __FUNCTION__; } + ^ + diff --git a/tests/tests/imported/microsoft/.23029.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23029.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.23029.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.23039.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23039.rto/default.1.1.txt new file mode 100644 index 0000000000..ad7791a668 --- /dev/null +++ b/tests/tests/imported/microsoft/.23039.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --gcc --gn 60100 Test_name.c diff --git a/tests/tests/imported/microsoft/.23058.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23058.rto/default.1.1.txt new file mode 100644 index 0000000000..43bb995b7b --- /dev/null +++ b/tests/tests/imported/microsoft/.23058.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.23094.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23094.rto/default.1.1.txt new file mode 100644 index 0000000000..d33c2d2ed4 --- /dev/null +++ b/tests/tests/imported/microsoft/.23094.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 --no_il Test_name.c diff --git a/tests/tests/imported/microsoft/.23156.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23156.rto/default.1.1.txt new file mode 100644 index 0000000000..2743786005 --- /dev/null +++ b/tests/tests/imported/microsoft/.23156.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --c++11 Test_name.c +"Test_name.c", line 12: error: no suitable constructor exists to convert from "int" to "vector" (aka "vector") + f(0); + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.23221.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23221.rto/default.1.1.txt new file mode 100644 index 0000000000..12c94ac4cd --- /dev/null +++ b/tests/tests/imported/microsoft/.23221.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --char8_t --utf8 Test_name.c diff --git a/tests/tests/imported/microsoft/.23235.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23235.rto/default.1.1.txt new file mode 100644 index 0000000000..32fc82e916 --- /dev/null +++ b/tests/tests/imported/microsoft/.23235.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23285.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23285.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.23285.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.23286.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23286.rto/default.1.1.txt new file mode 100644 index 0000000000..32fc82e916 --- /dev/null +++ b/tests/tests/imported/microsoft/.23286.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23288.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23288.rto/default.1.1.txt new file mode 100644 index 0000000000..32fc82e916 --- /dev/null +++ b/tests/tests/imported/microsoft/.23288.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23292.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23292.rto/default.1.1.txt new file mode 100644 index 0000000000..cc6f50a593 --- /dev/null +++ b/tests/tests/imported/microsoft/.23292.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++17 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.23293.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23293.rto/default.1.1.txt new file mode 100644 index 0000000000..a9e76def88 --- /dev/null +++ b/tests/tests/imported/microsoft/.23293.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++11 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.23294.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23294.rto/default.1.1.txt new file mode 100644 index 0000000000..cc6f50a593 --- /dev/null +++ b/tests/tests/imported/microsoft/.23294.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++17 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.23295.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23295.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.23295.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.23297.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23297.rto/default.1.1.txt new file mode 100644 index 0000000000..6cd85a5061 --- /dev/null +++ b/tests/tests/imported/microsoft/.23297.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.23366.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23366.rto/default.1.1.txt new file mode 100644 index 0000000000..faac8b0d2f --- /dev/null +++ b/tests/tests/imported/microsoft/.23366.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 41: warning: expression has no effect + co_yield 3, co_yield 4; + ^ + diff --git a/tests/tests/imported/microsoft/.23374.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23374.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.23374.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23376.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23376.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.23376.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23391.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23391.rto/default.1.1.txt new file mode 100644 index 0000000000..b05b634228 --- /dev/null +++ b/tests/tests/imported/microsoft/.23391.rto/default.1.1.txt @@ -0,0 +1,9 @@ +fe_only -DTEST_NUMBER=1 --clang --ms_compatibility Test_name.c +"Test_name.c", line 7: warning: external/internal linkage conflict with previous declaration at line 5 + static unsigned long __readcr3(void) { + ^ + +"Test_name.c", line 7: warning: function "__readcr3" was declared but never referenced + static unsigned long __readcr3(void) { + ^ + diff --git a/tests/tests/imported/microsoft/.23392.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23392.rto/default.1.1.txt new file mode 100644 index 0000000000..33bda4bcb8 --- /dev/null +++ b/tests/tests/imported/microsoft/.23392.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --clang Test_name.c diff --git a/tests/tests/imported/microsoft/.23402.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23402.rto/default.1.1.txt new file mode 100644 index 0000000000..3aa1d3169f --- /dev/null +++ b/tests/tests/imported/microsoft/.23402.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --c++20 -A Test_name.c +"Test_name.c", line 10: error: no suitable user-defined conversion from "C" to "const D" exists + const D &d3(c); // should be an error + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.23402.rto/default.2.1.txt b/tests/tests/imported/microsoft/.23402.rto/default.2.1.txt new file mode 100644 index 0000000000..78812b3ea6 --- /dev/null +++ b/tests/tests/imported/microsoft/.23402.rto/default.2.1.txt @@ -0,0 +1,16 @@ +fe_only -DTEST_NUMBER=2 --c++20 -A -DFOO Test_name.c +"Test_name.c", line 8: error: no instance of constructor "D::D" matches the argument list + argument types are: (C) + const D &d2{c}; // should be an error + ^ +"Test_name.c", line 4: note: function "D::D(const D &) noexcept" does not match because argument #1 does not match parameter + struct D { D(); }; + ^ +"Test_name.c", line 4: note: function "D::D(D &&) noexcept" does not match because argument #1 does not match parameter + struct D { D(); }; + ^ +"Test_name.c", line 4: note: number of parameters of function "D::D()" does not match the call + struct D { D(); }; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.23420.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23420.rto/default.1.1.txt new file mode 100644 index 0000000000..930b59d0c4 --- /dev/null +++ b/tests/tests/imported/microsoft/.23420.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --strict --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23445.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23445.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.23445.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23485.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23485.rto/default.1.1.txt new file mode 100644 index 0000000000..c2d828eb84 --- /dev/null +++ b/tests/tests/imported/microsoft/.23485.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --c++14 Test_name.c +"Test_name.c", line 5: error: exception specification for implicitly declared virtual function "S::~S" is incompatible with that of overridden function "S1::~S1" + struct S : S1 { + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.23485.rto/default.2.1.txt b/tests/tests/imported/microsoft/.23485.rto/default.2.1.txt new file mode 100644 index 0000000000..74d8f5b123 --- /dev/null +++ b/tests/tests/imported/microsoft/.23485.rto/default.2.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=2 --c++17 Test_name.c +"Test_name.c", line 5: error: exception specification for implicitly declared virtual function "S::~S" is incompatible with that of overridden function "S1::~S1" + struct S : S1 { + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.23564.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23564.rto/default.1.1.txt new file mode 100644 index 0000000000..895a092201 --- /dev/null +++ b/tests/tests/imported/microsoft/.23564.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version=1928 --ms_c++latest Test_name.c +"Test_name.c", line 8: warning: variable "data" was declared but never referenced + constexpr auto data = __builtin_memcmp("A01", string.content, 3); + ^ + diff --git a/tests/tests/imported/microsoft/.23569.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23569.rto/default.1.1.txt new file mode 100644 index 0000000000..94d9b58575 --- /dev/null +++ b/tests/tests/imported/microsoft/.23569.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version=1928 --ms_std_preprocessor Test_name.c diff --git a/tests/tests/imported/microsoft/.23605.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23605.rto/default.1.1.txt new file mode 100644 index 0000000000..1aae150d4e --- /dev/null +++ b/tests/tests/imported/microsoft/.23605.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1928 Test_name.c diff --git a/tests/tests/imported/microsoft/.23606.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23606.rto/default.1.1.txt new file mode 100644 index 0000000000..ae00381112 --- /dev/null +++ b/tests/tests/imported/microsoft/.23606.rto/default.1.1.txt @@ -0,0 +1,19 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1928 --concepts Test_name.c +"Test_name.c", line 9: error: no instance of constructor "X::X [with T=int]" matches the argument list + argument types are: (int) + X r{ 1 }; + ^ +"Test_name.c", line 4: note: function "X::X(const X &) [with T=int]" does not match because argument #1 does not match parameter + struct X { + ^ +"Test_name.c", line 4: note: function "X::X(X &&) [with T=int]" does not match because argument #1 does not match parameter + struct X { + ^ +"Test_name.c", line 6: note: substituting "" for function template "X::X(U) [with T=int]" failed constraints + X(U u) {} + ^ +"Test_name.c", line 5: note: atomic constraint evaluates to false + template requires requires { f(U()); } + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.23618.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23618.rto/default.1.1.txt new file mode 100644 index 0000000000..95ff387880 --- /dev/null +++ b/tests/tests/imported/microsoft/.23618.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --gnu_version=100100 Test_name.c diff --git a/tests/tests/imported/microsoft/.23647.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23647.rto/default.1.1.txt new file mode 100644 index 0000000000..9e641cd34c --- /dev/null +++ b/tests/tests/imported/microsoft/.23647.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --clang --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.23765.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23765.rto/default.1.1.txt new file mode 100644 index 0000000000..8e88c93e35 --- /dev/null +++ b/tests/tests/imported/microsoft/.23765.rto/default.1.1.txt @@ -0,0 +1,34 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1928 --time_limit 10 Test_name.c +"Test_name.c", line 11: error: excessive recursion at instantiation of class "NDimVectorGenerator<18446744073709551552UL>" + using type = vector::type>; + ^ + detected during: + instantiation of class "NDimVectorGenerator [with N=18446744073709551553UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551554UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551555UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551556UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551557UL]" at line 11 + [ 54 instantiation contexts not shown ] + instantiation of class "NDimVectorGenerator [with N=18446744073709551612UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551613UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551614UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551615UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=0UL]" at line 15 + +"Test_name.c", line 11: error: incomplete type "NDimVectorGenerator<18446744073709551552UL>" is not allowed + using type = vector::type>; + ^ + detected during: + instantiation of class "NDimVectorGenerator [with N=18446744073709551553UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551554UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551555UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551556UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551557UL]" at line 11 + [ 54 instantiation contexts not shown ] + instantiation of class "NDimVectorGenerator [with N=18446744073709551612UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551613UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551614UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=18446744073709551615UL]" at line 11 + instantiation of class "NDimVectorGenerator [with N=0UL]" at line 15 + +2 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.23795.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23795.rto/default.1.1.txt new file mode 100644 index 0000000000..57a2ab5782 --- /dev/null +++ b/tests/tests/imported/microsoft/.23795.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --g++ Test_name.c diff --git a/tests/tests/imported/microsoft/.23819.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23819.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.23819.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23821.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23821.rto/default.1.1.txt new file mode 100644 index 0000000000..c078d0d3dd --- /dev/null +++ b/tests/tests/imported/microsoft/.23821.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --concepts Test_name.c diff --git a/tests/tests/imported/microsoft/.23851.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23851.rto/default.1.1.txt new file mode 100644 index 0000000000..2fcdf06ec2 --- /dev/null +++ b/tests/tests/imported/microsoft/.23851.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1929 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.23928.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23928.rto/default.1.1.txt new file mode 100644 index 0000000000..79aebe25c1 --- /dev/null +++ b/tests/tests/imported/microsoft/.23928.rto/default.1.1.txt @@ -0,0 +1,18 @@ +cpfe -DTEST_NUMBER=1 --c++20 --il_display Test_name.c +expr_range + start.seq: 7 + start.column: 5 + end.seq: 7 + end.column: 7 +-- +expr_range + start.seq: 7 + start.column: 9 + end.seq: 7 + end.column: 11 +-- +expr_range + start.seq: 7 + start.column: 5 + end.seq: 7 + end.column: 12 diff --git a/tests/tests/imported/microsoft/.23928.rto/edg_x86_64_cp.1.1.txt b/tests/tests/imported/microsoft/.23928.rto/edg_x86_64_cp.1.1.txt new file mode 100644 index 0000000000..4e347416a3 --- /dev/null +++ b/tests/tests/imported/microsoft/.23928.rto/edg_x86_64_cp.1.1.txt @@ -0,0 +1,18 @@ +cpfe -DTEST_NUMBER=1 --c++20 --il_display Test_name.c +expr_range + start.seq: 8 + start.column: 1 + end.seq: 8 + end.column: 3 +-- +expr_range + start.seq: 8 + start.column: 5 + end.seq: 8 + end.column: 7 +-- +expr_range + start.seq: 8 + start.column: 1 + end.seq: 8 + end.column: 8 diff --git a/tests/tests/imported/microsoft/.23951.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23951.rto/default.1.1.txt new file mode 100644 index 0000000000..68a409848c --- /dev/null +++ b/tests/tests/imported/microsoft/.23951.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c99 --clang --ms_extensions Test_name.c +"Test_name.c", line 6: warning: variable "array" was declared but never referenced + double array[size]; + ^ + diff --git a/tests/tests/imported/microsoft/.23952.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23952.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.23952.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.23970.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23970.rto/default.1.1.txt new file mode 100644 index 0000000000..68aa8febe0 --- /dev/null +++ b/tests/tests/imported/microsoft/.23970.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++17 --clang_version 40000 Test_name.c diff --git a/tests/tests/imported/microsoft/.23976.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23976.rto/default.1.1.txt new file mode 100644 index 0000000000..4dfd89a172 --- /dev/null +++ b/tests/tests/imported/microsoft/.23976.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version=1929 --ms_c++14 Test_name.c +"Test_name.c", line 8: warning: exception specification for virtual function "CServerAppModule::Unlock" is incompatible with that of overridden function "CAtlModule::Unlock" + void Unlock() {} + ^ + diff --git a/tests/tests/imported/microsoft/.23999.rto/default.1.1.txt b/tests/tests/imported/microsoft/.23999.rto/default.1.1.txt new file mode 100644 index 0000000000..af9fbc32a9 --- /dev/null +++ b/tests/tests/imported/microsoft/.23999.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1929 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.24056.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24056.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.24056.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.24057.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24057.rto/default.1.1.txt new file mode 100644 index 0000000000..2fcdf06ec2 --- /dev/null +++ b/tests/tests/imported/microsoft/.24057.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1929 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.24070.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24070.rto/default.1.1.txt new file mode 100644 index 0000000000..0d416fa98c --- /dev/null +++ b/tests/tests/imported/microsoft/.24070.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --microsoft_bugs --microsoft_version 1929 --ms_c++latest --no_ms_permissive --no_warnings Test_name.c diff --git a/tests/tests/imported/microsoft/.24109.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24109.rto/default.1.1.txt new file mode 100644 index 0000000000..807a95a455 --- /dev/null +++ b/tests/tests/imported/microsoft/.24109.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version=1929 Test_name.c diff --git a/tests/tests/imported/microsoft/.24137.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24137.rto/default.1.1.txt new file mode 100644 index 0000000000..4db45b101a --- /dev/null +++ b/tests/tests/imported/microsoft/.24137.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version=1929 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24163.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24163.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24163.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24208.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24208.rto/default.1.1.txt new file mode 100644 index 0000000000..ecdd9063fe --- /dev/null +++ b/tests/tests/imported/microsoft/.24208.rto/default.1.1.txt @@ -0,0 +1,13 @@ +fe_only -DTEST_NUMBER=1 --c++17 --g++ Test_name.c +"Test_name.c", line 6: error: "target" attribute on special function is not supported + struct integral_constant { constexpr operator bool() { return true; } }; + ^ + +"Test_name.c", line 10: error: expression must have a constant value + static_assert(__is_complete_or_unbounded(), ""); + ^ +"Test_name.c", line 10: note: constexpr function "__is_complete_or_unbounded" (declared at line 8) is not defined + static_assert(__is_complete_or_unbounded(), ""); + ^ + +2 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.24221.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24221.rto/default.1.1.txt new file mode 100644 index 0000000000..b921d6c913 --- /dev/null +++ b/tests/tests/imported/microsoft/.24221.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.24268.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24268.rto/default.1.1.txt new file mode 100644 index 0000000000..913bd34aca --- /dev/null +++ b/tests/tests/imported/microsoft/.24268.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --gnu_version 90000 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.24268.rto/default.2.1.txt b/tests/tests/imported/microsoft/.24268.rto/default.2.1.txt new file mode 100644 index 0000000000..5a0c808863 --- /dev/null +++ b/tests/tests/imported/microsoft/.24268.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 --clang_version 30500 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.24268.rto/default.3.1.txt b/tests/tests/imported/microsoft/.24268.rto/default.3.1.txt new file mode 100644 index 0000000000..8fa868ce37 --- /dev/null +++ b/tests/tests/imported/microsoft/.24268.rto/default.3.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=3 --clang_version 50000 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24286.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24286.rto/default.1.1.txt new file mode 100644 index 0000000000..c5f279fc8c --- /dev/null +++ b/tests/tests/imported/microsoft/.24286.rto/default.1.1.txt @@ -0,0 +1,7 @@ +cpfe -DTEST_NUMBER=1 --xref x --c++11 Test_name.c +
T D Test_name.c 3 15 +
Foo D Test_name.c 4 8 +
T R Test_name.c 4 18 +
Foo<> R Test_name.c 4 14 +
T R Test_name.c 4 18 +
Foo<> R Test_name.c 4 14 diff --git a/tests/tests/imported/microsoft/.24286.rto/edg_x86_64_cp.1.1.txt b/tests/tests/imported/microsoft/.24286.rto/edg_x86_64_cp.1.1.txt new file mode 100644 index 0000000000..5c8c63af66 --- /dev/null +++ b/tests/tests/imported/microsoft/.24286.rto/edg_x86_64_cp.1.1.txt @@ -0,0 +1,7 @@ +cpfe -DTEST_NUMBER=1 --xref x --c++11 Test_name.c +
T D Test_name.c 3 16 +
Foo D Test_name.c 4 8 +
T R Test_name.c 4 20 +
Foo<> R Test_name.c 4 14 +
T R Test_name.c 4 20 +
Foo<> R Test_name.c 4 14 diff --git a/tests/tests/imported/microsoft/.24324.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24324.rto/default.1.1.txt new file mode 100644 index 0000000000..92a86fc0c8 --- /dev/null +++ b/tests/tests/imported/microsoft/.24324.rto/default.1.1.txt @@ -0,0 +1,9 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 21: warning: expression has no effect + a <= a + 10; + ^ + +"Test_name.c", line 26: warning: expression has no effect + a <= a + 10; + ^ + diff --git a/tests/tests/imported/microsoft/.24360.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24360.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24360.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24483.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24483.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24483.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24519.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24519.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24519.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24533.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24533.rto/default.1.1.txt new file mode 100644 index 0000000000..bf5446f533 --- /dev/null +++ b/tests/tests/imported/microsoft/.24533.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_version 1929 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.24536.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24536.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.24536.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.24538.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24538.rto/default.1.1.txt new file mode 100644 index 0000000000..5a435bf1b5 --- /dev/null +++ b/tests/tests/imported/microsoft/.24538.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.24540.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24540.rto/default.1.1.txt new file mode 100644 index 0000000000..374fc5b12b --- /dev/null +++ b/tests/tests/imported/microsoft/.24540.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1929 Test_name.c diff --git a/tests/tests/imported/microsoft/.24586.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24586.rto/default.1.1.txt new file mode 100644 index 0000000000..367310682f --- /dev/null +++ b/tests/tests/imported/microsoft/.24586.rto/default.1.1.txt @@ -0,0 +1,2 @@ +cpfe -DTEST_NUMBER=1 --microsoft --xref xrefs Test_name.c +NUM_LOOP D Test_name.c 3 9 diff --git a/tests/tests/imported/microsoft/.24586.rto/edg_x86_64_cp.1.1.txt b/tests/tests/imported/microsoft/.24586.rto/edg_x86_64_cp.1.1.txt new file mode 100644 index 0000000000..eef1276d68 --- /dev/null +++ b/tests/tests/imported/microsoft/.24586.rto/edg_x86_64_cp.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft --xref xrefs Test_name.c diff --git a/tests/tests/imported/microsoft/.24587.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24587.rto/default.1.1.txt new file mode 100644 index 0000000000..26d93786c1 --- /dev/null +++ b/tests/tests/imported/microsoft/.24587.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.24613.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24613.rto/default.1.1.txt new file mode 100644 index 0000000000..26d93786c1 --- /dev/null +++ b/tests/tests/imported/microsoft/.24613.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.24614.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24614.rto/default.1.1.txt new file mode 100644 index 0000000000..26d93786c1 --- /dev/null +++ b/tests/tests/imported/microsoft/.24614.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.24615.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24615.rto/default.1.1.txt new file mode 100644 index 0000000000..785063683b --- /dev/null +++ b/tests/tests/imported/microsoft/.24615.rto/default.1.1.txt @@ -0,0 +1,17 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c +"Test_name.c", line 15: warning: variable "obj1" was declared but never referenced + overloaded obj1{ A{} }; + ^ + +"Test_name.c", line 16: warning: variable "obj2" was declared but never referenced + overloaded obj2{ B{} }; + ^ + +"Test_name.c", line 21: warning: variable "obj1" was declared but never referenced + Test::overloaded obj1{ A{} }; + ^ + +"Test_name.c", line 22: warning: variable "obj2" was declared but never referenced + Test::overloaded obj2{ B{} }; + ^ + diff --git a/tests/tests/imported/microsoft/.24616.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24616.rto/default.1.1.txt new file mode 100644 index 0000000000..1f2de6e00c --- /dev/null +++ b/tests/tests/imported/microsoft/.24616.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.24617.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24617.rto/default.1.1.txt new file mode 100644 index 0000000000..593e588b46 --- /dev/null +++ b/tests/tests/imported/microsoft/.24617.rto/default.1.1.txt @@ -0,0 +1,13 @@ +cpfe -DTEST_NUMBER=1 --ms_c++17 Test_name.c +"Test_name.c", line 6: warning: capturing structured bindings is a C++20 feature + [x, y, z]() {}; + ^ + +"Test_name.c", line 6: warning: capturing structured bindings is a C++20 feature + [x, y, z]() {}; + ^ + +"Test_name.c", line 6: warning: capturing structured bindings is a C++20 feature + [x, y, z]() {}; + ^ + diff --git a/tests/tests/imported/microsoft/.24618.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24618.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24618.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24619.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24619.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24619.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24620.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24620.rto/default.1.1.txt new file mode 100644 index 0000000000..35ec227f78 --- /dev/null +++ b/tests/tests/imported/microsoft/.24620.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 19: warning: variable "string_test" was declared but never referenced + constexpr auto string_test = "abc"_fixed_str; + ^ + diff --git a/tests/tests/imported/microsoft/.24623.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24623.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24623.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24624.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24624.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24624.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24625.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24625.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24625.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24626.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24626.rto/default.1.1.txt new file mode 100644 index 0000000000..5502ac30e0 --- /dev/null +++ b/tests/tests/imported/microsoft/.24626.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++14 Test_name.c +"Test_name.c", line 11: warning: variable "trim_back" was declared but never referenced + constexpr auto trim_back = _Partial{}.foo(); + ^ + diff --git a/tests/tests/imported/microsoft/.24630.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24630.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24630.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24632.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24632.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24632.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24644.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24644.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24644.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24655.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24655.rto/default.1.1.txt new file mode 100644 index 0000000000..298444405c --- /dev/null +++ b/tests/tests/imported/microsoft/.24655.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.24660.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24660.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24660.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24700.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24700.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24700.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24710.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24710.rto/default.1.1.txt new file mode 100644 index 0000000000..e71da07329 --- /dev/null +++ b/tests/tests/imported/microsoft/.24710.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --clang --ms_comp Test_name.c diff --git a/tests/tests/imported/microsoft/.24724.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24724.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24724.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24804.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24804.rto/default.1.1.txt new file mode 100644 index 0000000000..219ac46f9e --- /dev/null +++ b/tests/tests/imported/microsoft/.24804.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --ms_c++20 Test_name.c +"Test_name.c", line 5: error: a storage class may not be specified here + for (extern int i : arr) {} + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.24807.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24807.rto/default.1.1.txt new file mode 100644 index 0000000000..2d99103af8 --- /dev/null +++ b/tests/tests/imported/microsoft/.24807.rto/default.1.1.txt @@ -0,0 +1,15 @@ +fe_only -DTEST_NUMBER=1 --c++17 Test_name.c +"Test_name.c", line 4: error: type name is not allowed + void f() { throw _A ( _A ); } + ^ + +"Test_name.c", line 4: error: no instance of constructor "_A" matches the argument list + argument types are: () + void f() { throw _A ( _A ); } + ^ + +"Test_name.c", line 4: error: cannot deduce class template arguments + void f() { throw _A ( _A ); } + ^ + +3 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.24832.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24832.rto/default.1.1.txt new file mode 100644 index 0000000000..180a6ca4b3 --- /dev/null +++ b/tests/tests/imported/microsoft/.24832.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.24832.rto/default.2.1.txt b/tests/tests/imported/microsoft/.24832.rto/default.2.1.txt new file mode 100644 index 0000000000..aefa03a0ed --- /dev/null +++ b/tests/tests/imported/microsoft/.24832.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 --ms_c++17 --ms_std_preprocessor Test_name.c diff --git a/tests/tests/imported/microsoft/.24845.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24845.rto/default.1.1.txt new file mode 100644 index 0000000000..32fc82e916 --- /dev/null +++ b/tests/tests/imported/microsoft/.24845.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24910.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24910.rto/default.1.1.txt new file mode 100644 index 0000000000..ac15617629 --- /dev/null +++ b/tests/tests/imported/microsoft/.24910.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --gn 103000 --c++20 --ms_extensions Test_name.c diff --git a/tests/tests/imported/microsoft/.24915.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24915.rto/default.1.1.txt new file mode 100644 index 0000000000..382b56fa41 --- /dev/null +++ b/tests/tests/imported/microsoft/.24915.rto/default.1.1.txt @@ -0,0 +1,10 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1920 --ms_c++14 Test_name.c +"Test_name.c", line 7: error: a constexpr static data member declaration requires an in-class initializer + static constexpr bool foo = ns::does_not_exist; + ^ + +"Test_name.c", line 7: error: expected a ";" + static constexpr bool foo = ns::does_not_exist; + ^ + +2 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.24916.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24916.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.24916.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.24924.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24924.rto/default.1.1.txt new file mode 100644 index 0000000000..180a6ca4b3 --- /dev/null +++ b/tests/tests/imported/microsoft/.24924.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.24978.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24978.rto/default.1.1.txt new file mode 100644 index 0000000000..37e1714696 --- /dev/null +++ b/tests/tests/imported/microsoft/.24978.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 8: warning: variable "v" was declared but never referenced + Vector v; + ^ + diff --git a/tests/tests/imported/microsoft/.24982.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24982.rto/default.1.1.txt new file mode 100644 index 0000000000..2a2cb1d120 --- /dev/null +++ b/tests/tests/imported/microsoft/.24982.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --g++ --c++17 --ms_extensions Test_name.c diff --git a/tests/tests/imported/microsoft/.24985.rto/default.1.1.txt b/tests/tests/imported/microsoft/.24985.rto/default.1.1.txt new file mode 100644 index 0000000000..275b543d25 --- /dev/null +++ b/tests/tests/imported/microsoft/.24985.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 16: warning: abbreviated function template syntax is nonstandard for deduction guides + X(has_data auto &x) -> X; + ^ + diff --git a/tests/tests/imported/microsoft/.25009.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25009.rto/default.1.1.txt new file mode 100644 index 0000000000..767f51adac --- /dev/null +++ b/tests/tests/imported/microsoft/.25009.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 20: warning: expression has no effect + call([ref]() { ref.val; }); + ^ + diff --git a/tests/tests/imported/microsoft/.25025.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25025.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.25025.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.25046.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25046.rto/default.1.1.txt new file mode 100644 index 0000000000..328ee5e41c --- /dev/null +++ b/tests/tests/imported/microsoft/.25046.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 28: warning: variable "values" was declared but never referenced + constexpr auto values = transform(array{ 0.f }); + ^ + diff --git a/tests/tests/imported/microsoft/.25059.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25059.rto/default.1.1.txt new file mode 100644 index 0000000000..e2e5e4f8e2 --- /dev/null +++ b/tests/tests/imported/microsoft/.25059.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.25077.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25077.rto/default.1.1.txt new file mode 100644 index 0000000000..7a6d605aa0 --- /dev/null +++ b/tests/tests/imported/microsoft/.25077.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --c++11 Test_name.c +"Test_name.c", line 8: error: function modifier does not apply to member template declaration + template void Foo() override {} + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.25092.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25092.rto/default.1.1.txt new file mode 100644 index 0000000000..1b09e1dafc --- /dev/null +++ b/tests/tests/imported/microsoft/.25092.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --gn 90100 Test_name.c +"Test_name.c", line 3: warning: 'explicit(bool)' is a C++20 feature + explicit(sizeof(T) > sizeof(int)) S(int x); + ^ + diff --git a/tests/tests/imported/microsoft/.25092.rto/default.2.1.txt b/tests/tests/imported/microsoft/.25092.rto/default.2.1.txt new file mode 100644 index 0000000000..7b0dffd849 --- /dev/null +++ b/tests/tests/imported/microsoft/.25092.rto/default.2.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=2 --clang_v 100000 Test_name.c +"Test_name.c", line 3: warning: 'explicit(bool)' is a C++20 feature + explicit(sizeof(T) > sizeof(int)) S(int x); + ^ + diff --git a/tests/tests/imported/microsoft/.25105.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25105.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.25105.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25118.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25118.rto/default.1.1.txt new file mode 100644 index 0000000000..9ff2d52d15 --- /dev/null +++ b/tests/tests/imported/microsoft/.25118.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c +"Test_name.c", line 15: warning: variable "edit_scheme" was declared but never referenced + configuration edit_scheme = c; + ^ + diff --git a/tests/tests/imported/microsoft/.25130.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25130.rto/default.1.1.txt new file mode 100644 index 0000000000..ef611b6ebb --- /dev/null +++ b/tests/tests/imported/microsoft/.25130.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++14 --ms_std_preprocessor Test_name.c diff --git a/tests/tests/imported/microsoft/.25209.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25209.rto/default.1.1.txt new file mode 100644 index 0000000000..2451fcecdf --- /dev/null +++ b/tests/tests/imported/microsoft/.25209.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 24: warning: variable "y" was declared but never referenced + constexpr auto y = reverse(x); + ^ + diff --git a/tests/tests/imported/microsoft/.25213.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25213.rto/default.1.1.txt new file mode 100644 index 0000000000..6cbd97ece6 --- /dev/null +++ b/tests/tests/imported/microsoft/.25213.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++11 Test_name.c diff --git a/tests/tests/imported/microsoft/.25232.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25232.rto/default.1.1.txt new file mode 100644 index 0000000000..d04dd80b69 --- /dev/null +++ b/tests/tests/imported/microsoft/.25232.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 Test_name.c diff --git a/tests/tests/imported/microsoft/.25251.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25251.rto/default.1.1.txt new file mode 100644 index 0000000000..8fb89efb0b --- /dev/null +++ b/tests/tests/imported/microsoft/.25251.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25252.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25252.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.25252.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.25266.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25266.rto/default.1.1.txt new file mode 100644 index 0000000000..c1ec352473 --- /dev/null +++ b/tests/tests/imported/microsoft/.25266.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --gcc --c99 --ms_extensions Test_name.c +"Test_name.c", line 6: warning: variable "tab" was declared but never referenced + char tab[n][l]; + ^ + diff --git a/tests/tests/imported/microsoft/.25267.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25267.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.25267.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25281.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25281.rto/default.1.1.txt new file mode 100644 index 0000000000..5e933e1857 --- /dev/null +++ b/tests/tests/imported/microsoft/.25281.rto/default.1.1.txt @@ -0,0 +1,3 @@ +cpfe -DTEST_NUMBER=1 -E Test_name.c +#line 1 "Test_name.c" + diff --git a/tests/tests/imported/microsoft/.25283.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25283.rto/default.1.1.txt new file mode 100644 index 0000000000..aaf84f06e5 --- /dev/null +++ b/tests/tests/imported/microsoft/.25283.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25289.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25289.rto/default.1.1.txt new file mode 100644 index 0000000000..f65ac04a9e --- /dev/null +++ b/tests/tests/imported/microsoft/.25289.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft_version=1930 --c++20 --modules Test_name.c diff --git a/tests/tests/imported/microsoft/.25294.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25294.rto/default.1.1.txt new file mode 100644 index 0000000000..e3dcdeb034 --- /dev/null +++ b/tests/tests/imported/microsoft/.25294.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 -w --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25294.rto/default.2.1.txt b/tests/tests/imported/microsoft/.25294.rto/default.2.1.txt new file mode 100644 index 0000000000..b8ac617da5 --- /dev/null +++ b/tests/tests/imported/microsoft/.25294.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 -w --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25301.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25301.rto/default.1.1.txt new file mode 100644 index 0000000000..dd6934fe62 --- /dev/null +++ b/tests/tests/imported/microsoft/.25301.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --c++17 Test_name.c +"Test_name.c", line 13: error: redeclaration of deduction guide "(U &&)->S" (previous declaration at line 10) + S(U &&) -> S; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.25322.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25322.rto/default.1.1.txt new file mode 100644 index 0000000000..18d5443a5c --- /dev/null +++ b/tests/tests/imported/microsoft/.25322.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --c++17 Test_name.c +"Test_name.c", line 17: error: operand types are incompatible ("const int *" and "int") + if (a.x + a.y + a.z != 143) + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.25323.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25323.rto/default.1.1.txt new file mode 100644 index 0000000000..b1d171d159 --- /dev/null +++ b/tests/tests/imported/microsoft/.25323.rto/default.1.1.txt @@ -0,0 +1,19 @@ +fe_only -DTEST_NUMBER=1 --c++17 Test_name.c +"Test_name.c", line 4: error: class template and template parameter may not have the same name + template struct U {}; + ^ + +"Test_name.c", line 7: error: class template "A" has already been defined (previous definition at line 3) + template struct A { + ^ + +"Test_name.c", line 10: error: no instance of constructor "A::U [with T=double]" matches the argument list + argument types are: (int) + int i = A::U(-23); + ^ + +"Test_name.c", line 10: error: cannot deduce class template arguments + int i = A::U(-23); + ^ + +4 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.25335.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25335.rto/default.1.1.txt new file mode 100644 index 0000000000..0a5ca2c97b --- /dev/null +++ b/tests/tests/imported/microsoft/.25335.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --clang_v 90000 Test_name.c diff --git a/tests/tests/imported/microsoft/.25335.rto/default.2.1.txt b/tests/tests/imported/microsoft/.25335.rto/default.2.1.txt new file mode 100644 index 0000000000..5bdcbc650f --- /dev/null +++ b/tests/tests/imported/microsoft/.25335.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 --clang_v 100000 Test_name.c diff --git a/tests/tests/imported/microsoft/.25336.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25336.rto/default.1.1.txt new file mode 100644 index 0000000000..435fd16da2 --- /dev/null +++ b/tests/tests/imported/microsoft/.25336.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --gn 110000 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.25337.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25337.rto/default.1.1.txt new file mode 100644 index 0000000000..435fd16da2 --- /dev/null +++ b/tests/tests/imported/microsoft/.25337.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --gn 110000 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.25346.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25346.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.25346.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25346.rto/default.2.1.txt b/tests/tests/imported/microsoft/.25346.rto/default.2.1.txt new file mode 100644 index 0000000000..c1a2b39c77 --- /dev/null +++ b/tests/tests/imported/microsoft/.25346.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 --c++20 --microsoft_v 1930 Test_name.c diff --git a/tests/tests/imported/microsoft/.25346.rto/default.3.1.txt b/tests/tests/imported/microsoft/.25346.rto/default.3.1.txt new file mode 100644 index 0000000000..b6065952ff --- /dev/null +++ b/tests/tests/imported/microsoft/.25346.rto/default.3.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=3 --c++20 --microsoft_v 1930 --parse Test_name.c diff --git a/tests/tests/imported/microsoft/.25388.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25388.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.25388.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25393.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25393.rto/default.1.1.txt new file mode 100644 index 0000000000..9e71f3fa1c --- /dev/null +++ b/tests/tests/imported/microsoft/.25393.rto/default.1.1.txt @@ -0,0 +1,7 @@ +fe_only -DTEST_NUMBER=1 --unicode=UTF-8 --c++20 Test_name.c +"Test_name.c", line 3: catastrophic error: could not find module file for module "\u6a21\u5757" + import 模块; + ^ + +1 catastrophic error detected in the compilation of "Test_name.c". +Compilation terminated. diff --git a/tests/tests/imported/microsoft/.25399.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25399.rto/default.1.1.txt new file mode 100644 index 0000000000..13d380a77b --- /dev/null +++ b/tests/tests/imported/microsoft/.25399.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1930 --ms_c++20 --ms_cplusplus_std_value Test_name.c +"Test_name.c", line 17: warning: comparison is ambiguous in standard C++20 because the implied comparison operator with reversed parameters is an equally good match -- this is usually caused by a missing "const" qualifier on the comparison operator; see "wrap::operator<=> [with T=float]" (declared at line 9) + a <=> b; + ^ + diff --git a/tests/tests/imported/microsoft/.25399.rto/default.2.1.txt b/tests/tests/imported/microsoft/.25399.rto/default.2.1.txt new file mode 100644 index 0000000000..2747b972d5 --- /dev/null +++ b/tests/tests/imported/microsoft/.25399.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 --gn 120100 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25399.rto/default.3.1.txt b/tests/tests/imported/microsoft/.25399.rto/default.3.1.txt new file mode 100644 index 0000000000..e875c3b0b4 --- /dev/null +++ b/tests/tests/imported/microsoft/.25399.rto/default.3.1.txt @@ -0,0 +1,15 @@ +fe_only -DTEST_NUMBER=3 --clang_v 140000 --c++20 Test_name.c +"Test_name.c", line 17: error: more than one operator "<=>" matches these operands: + function template "auto wrap::operator<=>(const wrap &) [with T=float]" (declared at line 9), with reversed arguments + function template "auto wrap::operator<=>(const wrap &) [with T=double]" (declared at line 9) + operand types are: wrap <=> wrap + a <=> b; + ^ +"Test_name.c", line 17: note: built-in operator<=>(, ) does not match because argument #1 does not match parameter + a <=> b; + ^ +"Test_name.c", line 17: note: built-in operator<=>(, ) does not match because argument #1 does not match parameter + a <=> b; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.25401.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25401.rto/default.1.1.txt new file mode 100644 index 0000000000..8fb89efb0b --- /dev/null +++ b/tests/tests/imported/microsoft/.25401.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25436.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25436.rto/default.1.1.txt new file mode 100644 index 0000000000..4279653698 --- /dev/null +++ b/tests/tests/imported/microsoft/.25436.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.25463.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25463.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.25463.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25469.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25469.rto/default.1.1.txt new file mode 100644 index 0000000000..5060f3f252 --- /dev/null +++ b/tests/tests/imported/microsoft/.25469.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 12: warning: variable "s" was declared but never referenced + S s; + ^ + diff --git a/tests/tests/imported/microsoft/.25470.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25470.rto/default.1.1.txt new file mode 100644 index 0000000000..f911f43eee --- /dev/null +++ b/tests/tests/imported/microsoft/.25470.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --ms_c++latest --microsoft_version=1930 Test_name.c diff --git a/tests/tests/imported/microsoft/.25476.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25476.rto/default.1.1.txt new file mode 100644 index 0000000000..28635c39dc --- /dev/null +++ b/tests/tests/imported/microsoft/.25476.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --clang --ms_compatibility Test_name.c diff --git a/tests/tests/imported/microsoft/.25488.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25488.rto/default.1.1.txt new file mode 100644 index 0000000000..baf698a0d8 --- /dev/null +++ b/tests/tests/imported/microsoft/.25488.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --ms_c++17 --no_ms_permissive --microsoft_version=1934 Test_name.c diff --git a/tests/tests/imported/microsoft/.25488.rto/default.2.1.txt b/tests/tests/imported/microsoft/.25488.rto/default.2.1.txt new file mode 100644 index 0000000000..1efa2bb093 --- /dev/null +++ b/tests/tests/imported/microsoft/.25488.rto/default.2.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=2 --ms_c++17 --no_ms_permissive --microsoft_version=1933 Test_name.c +"Test_name.c", line 23: error: static assertion failed + static_assert(is_same_v, unsigned int>); + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.25525.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25525.rto/default.1.1.txt new file mode 100644 index 0000000000..e1b70e55f1 --- /dev/null +++ b/tests/tests/imported/microsoft/.25525.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --no_char8_t --c++20 Test_name.c +"Test_name.c", line 4: error: identifier "char8_t" is undefined + char8_t x; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.25525.rto/default.2.1.txt b/tests/tests/imported/microsoft/.25525.rto/default.2.1.txt new file mode 100644 index 0000000000..cc78a30348 --- /dev/null +++ b/tests/tests/imported/microsoft/.25525.rto/default.2.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=2 --no_char8_t --ms_c++20 Test_name.c +"Test_name.c", line 4: error: identifier "char8_t" is undefined + char8_t x; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.25528.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25528.rto/default.1.1.txt new file mode 100644 index 0000000000..1f2de6e00c --- /dev/null +++ b/tests/tests/imported/microsoft/.25528.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.25537.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25537.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.25537.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25572.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25572.rto/default.1.1.txt new file mode 100644 index 0000000000..bc3e8d0710 --- /dev/null +++ b/tests/tests/imported/microsoft/.25572.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1934 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25606.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25606.rto/default.1.1.txt new file mode 100644 index 0000000000..23ed18cf75 --- /dev/null +++ b/tests/tests/imported/microsoft/.25606.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --microsoft --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25609.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25609.rto/default.1.1.txt new file mode 100644 index 0000000000..32fc82e916 --- /dev/null +++ b/tests/tests/imported/microsoft/.25609.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25610.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25610.rto/default.1.1.txt new file mode 100644 index 0000000000..32fc82e916 --- /dev/null +++ b/tests/tests/imported/microsoft/.25610.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25615.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25615.rto/default.1.1.txt new file mode 100644 index 0000000000..69af697f0d --- /dev/null +++ b/tests/tests/imported/microsoft/.25615.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --c++14 Test_name.c +"Test_name.c", line 11: warning: variable "re_construct" was declared but never referenced + } re_construct; + ^ + diff --git a/tests/tests/imported/microsoft/.25616.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25616.rto/default.1.1.txt new file mode 100644 index 0000000000..6cd85a5061 --- /dev/null +++ b/tests/tests/imported/microsoft/.25616.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c++20 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.25664.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25664.rto/default.1.1.txt new file mode 100644 index 0000000000..8fb89efb0b --- /dev/null +++ b/tests/tests/imported/microsoft/.25664.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25673.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25673.rto/default.1.1.txt new file mode 100644 index 0000000000..26d93786c1 --- /dev/null +++ b/tests/tests/imported/microsoft/.25673.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.25674.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25674.rto/default.1.1.txt new file mode 100644 index 0000000000..9a1d071307 --- /dev/null +++ b/tests/tests/imported/microsoft/.25674.rto/default.1.1.txt @@ -0,0 +1,8 @@ +cpfe -DTEST_NUMBER=1 -W --ms_c++14 -P Test_name.c + + + + + +enum ENProjectTypeGroup : unsigned char { E_Mathematic }; +using EProjectTypeGroup = TSmartEnumText; diff --git a/tests/tests/imported/microsoft/.25686.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25686.rto/default.1.1.txt new file mode 100644 index 0000000000..2af815e67f --- /dev/null +++ b/tests/tests/imported/microsoft/.25686.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 12: warning: variable "a" was declared but never referenced + A<0, 1> a{}; + ^ + diff --git a/tests/tests/imported/microsoft/.25707.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25707.rto/default.1.1.txt new file mode 100644 index 0000000000..1f2de6e00c --- /dev/null +++ b/tests/tests/imported/microsoft/.25707.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.25757.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25757.rto/default.1.1.txt new file mode 100644 index 0000000000..180a6ca4b3 --- /dev/null +++ b/tests/tests/imported/microsoft/.25757.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.25776.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25776.rto/default.1.1.txt new file mode 100644 index 0000000000..35158c5a43 --- /dev/null +++ b/tests/tests/imported/microsoft/.25776.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1938 --ms_c++latest Test_name.c +"Test_name.c", line 4: warning: variable "do_job" was declared but never referenced + auto do_job = [&](this auto &&) { + ^ + diff --git a/tests/tests/imported/microsoft/.25798.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25798.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.25798.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25805.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25805.rto/default.1.1.txt new file mode 100644 index 0000000000..3411890166 --- /dev/null +++ b/tests/tests/imported/microsoft/.25805.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1938 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.25811.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25811.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.25811.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.25829.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25829.rto/default.1.1.txt new file mode 100644 index 0000000000..8a349e25f3 --- /dev/null +++ b/tests/tests/imported/microsoft/.25829.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++11 Test_name.c diff --git a/tests/tests/imported/microsoft/.25885.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25885.rto/default.1.1.txt new file mode 100644 index 0000000000..cb29faeb8a --- /dev/null +++ b/tests/tests/imported/microsoft/.25885.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 --microsoft_v 1930 Test_name.c diff --git a/tests/tests/imported/microsoft/.25901.rto/default.1.1.txt b/tests/tests/imported/microsoft/.25901.rto/default.1.1.txt new file mode 100644 index 0000000000..cb29faeb8a --- /dev/null +++ b/tests/tests/imported/microsoft/.25901.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 --microsoft_v 1930 Test_name.c diff --git a/tests/tests/imported/microsoft/.26050.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26050.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26050.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26094.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26094.rto/default.1.1.txt new file mode 100644 index 0000000000..dee834cd15 --- /dev/null +++ b/tests/tests/imported/microsoft/.26094.rto/default.1.1.txt @@ -0,0 +1,13 @@ +cpfe -DTEST_NUMBER=1 --c++20 --xref x Test_name.c + D Test_name.c 4 16 + D Test_name.c 4 23 + D Test_name.c 7 16 +some_func d Test_name.c 8 5 +T D Test_name.c 10 17 +T R Test_name.c 12 44 +T D Test_name.c 15 25 +inner_func D Test_name.c 16 6 +func D Test_name.c 18 6 +some_func t Test_name.c 8 5 +inner_func t Test_name.c 16 6 +inner_func R Test_name.c 18 15 diff --git a/tests/tests/imported/microsoft/.26094.rto/edg_x86_64_cp.1.1.txt b/tests/tests/imported/microsoft/.26094.rto/edg_x86_64_cp.1.1.txt new file mode 100644 index 0000000000..3713ded772 --- /dev/null +++ b/tests/tests/imported/microsoft/.26094.rto/edg_x86_64_cp.1.1.txt @@ -0,0 +1,13 @@ +cpfe -DTEST_NUMBER=1 --c++20 --xref x Test_name.c + D Test_name.c 4 17 + D Test_name.c 4 25 + D Test_name.c 7 18 +some_func d Test_name.c 8 5 +T D Test_name.c 10 17 +T R Test_name.c 11 47 +T D Test_name.c 15 26 +inner_func D Test_name.c 16 6 +func D Test_name.c 18 6 +some_func t Test_name.c 8 5 +inner_func t Test_name.c 16 6 +inner_func R Test_name.c 18 15 diff --git a/tests/tests/imported/microsoft/.26108.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26108.rto/default.1.1.txt new file mode 100644 index 0000000000..37f607b06c --- /dev/null +++ b/tests/tests/imported/microsoft/.26108.rto/default.1.1.txt @@ -0,0 +1,15 @@ +cpfe -DTEST_NUMBER=1 -P --ms_c++14 --microsoft_v 1935 Test_name.c + + + + + + + + + + + +template < typename T > +struct Integer; +void f(const Integer &); diff --git a/tests/tests/imported/microsoft/.26112.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26112.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26112.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26113.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26113.rto/default.1.1.txt new file mode 100644 index 0000000000..fe0155937a --- /dev/null +++ b/tests/tests/imported/microsoft/.26113.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 16: warning: variable "p" was declared but never referenced + auto p = container.iterator->parent; + ^ + diff --git a/tests/tests/imported/microsoft/.26114.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26114.rto/default.1.1.txt new file mode 100644 index 0000000000..4d04663918 --- /dev/null +++ b/tests/tests/imported/microsoft/.26114.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 6: warning: variable "p" was declared but never referenced + auto p = v.last >= v.first; + ^ + diff --git a/tests/tests/imported/microsoft/.26117.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26117.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26117.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26206.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26206.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26206.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26208.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26208.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.26208.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.26209.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26209.rto/default.1.1.txt new file mode 100644 index 0000000000..ef62a974e0 --- /dev/null +++ b/tests/tests/imported/microsoft/.26209.rto/default.1.1.txt @@ -0,0 +1,4 @@ +cpfe -DTEST_NUMBER=1 -E --clang --ms_compatibility Test_name.c +# 1 "Test_name.c" + + diff --git a/tests/tests/imported/microsoft/.26210.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26210.rto/default.1.1.txt new file mode 100644 index 0000000000..ca26c4d6c2 --- /dev/null +++ b/tests/tests/imported/microsoft/.26210.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 5: warning: variable "f" was declared but never referenced + decltype(auto) f = &foo; + ^ + diff --git a/tests/tests/imported/microsoft/.26213.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26213.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26213.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26255.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26255.rto/default.1.1.txt new file mode 100644 index 0000000000..6d692c2c82 --- /dev/null +++ b/tests/tests/imported/microsoft/.26255.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 9: warning: variable "a" was declared but never referenced + constexpr auto a = foo(); + ^ + diff --git a/tests/tests/imported/microsoft/.26285.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26285.rto/default.1.1.txt new file mode 100644 index 0000000000..7f4fd5e022 --- /dev/null +++ b/tests/tests/imported/microsoft/.26285.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1930 Test_name.c diff --git a/tests/tests/imported/microsoft/.26322.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26322.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26322.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26327.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26327.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26327.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26336.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26336.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26336.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26337.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26337.rto/default.1.1.txt new file mode 100644 index 0000000000..00eb5cda61 --- /dev/null +++ b/tests/tests/imported/microsoft/.26337.rto/default.1.1.txt @@ -0,0 +1,17 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c +"Test_name.c", line 3: warning: declaration of "size_t" does not match the expected type "unsigned long" + using size_t = unsigned int; + ^ + +"Test_name.c", line 48: warning: variable "s3" was declared but never referenced + constexpr auto s3 = s2; + ^ + +"Test_name.c", line 50: warning: variable "s4" was declared but never referenced + constexpr auto s4 = serial(arr1); + ^ + +"Test_name.c", line 52: warning: variable "s5" was declared but never referenced + constexpr auto s5 = make_num(arr2); + ^ + diff --git a/tests/tests/imported/microsoft/.26368.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26368.rto/default.1.1.txt new file mode 100644 index 0000000000..c6b94c5d8b --- /dev/null +++ b/tests/tests/imported/microsoft/.26368.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1938 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.26395.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26395.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26395.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26395.rto/default.2.1.txt b/tests/tests/imported/microsoft/.26395.rto/default.2.1.txt new file mode 100644 index 0000000000..6d19997d34 --- /dev/null +++ b/tests/tests/imported/microsoft/.26395.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 --c++20 --microsoft_v 1940 Test_name.c diff --git a/tests/tests/imported/microsoft/.26395.rto/default.3.1.txt b/tests/tests/imported/microsoft/.26395.rto/default.3.1.txt new file mode 100644 index 0000000000..c0672fabde --- /dev/null +++ b/tests/tests/imported/microsoft/.26395.rto/default.3.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=3 --c++20 --clang_v 160000 Test_name.c diff --git a/tests/tests/imported/microsoft/.26435.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26435.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26435.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26450.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26450.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26450.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26481.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26481.rto/default.1.1.txt new file mode 100644 index 0000000000..20794b049f --- /dev/null +++ b/tests/tests/imported/microsoft/.26481.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --clang_v 150000 --c++14 Test_name.c diff --git a/tests/tests/imported/microsoft/.26494.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26494.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26494.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26495.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26495.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26495.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26496.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26496.rto/default.1.1.txt new file mode 100644 index 0000000000..bafcfba94d --- /dev/null +++ b/tests/tests/imported/microsoft/.26496.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1940 Test_name.c diff --git a/tests/tests/imported/microsoft/.26501.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26501.rto/default.1.1.txt new file mode 100644 index 0000000000..bafcfba94d --- /dev/null +++ b/tests/tests/imported/microsoft/.26501.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1940 Test_name.c diff --git a/tests/tests/imported/microsoft/.26502.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26502.rto/default.1.1.txt new file mode 100644 index 0000000000..c81253483a --- /dev/null +++ b/tests/tests/imported/microsoft/.26502.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1940 Test_name.c +"Test_name.c", line 10: warning: expression has no effect + void TestBody() { T_EQUAL; } + ^ + diff --git a/tests/tests/imported/microsoft/.26503.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26503.rto/default.1.1.txt new file mode 100644 index 0000000000..83a7edeabc --- /dev/null +++ b/tests/tests/imported/microsoft/.26503.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1940 Test_name.c +"Test_name.c", line 4: warning: variable "g" was declared but never referenced + auto g = [&i](F f) requires requires (F f) { f(i); } {}; + ^ + diff --git a/tests/tests/imported/microsoft/.26583.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26583.rto/default.1.1.txt new file mode 100644 index 0000000000..954f8043b9 --- /dev/null +++ b/tests/tests/imported/microsoft/.26583.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++23 Test_name.c diff --git a/tests/tests/imported/microsoft/.26613.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26613.rto/default.1.1.txt new file mode 100644 index 0000000000..a63689465b --- /dev/null +++ b/tests/tests/imported/microsoft/.26613.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --c++11 Test_name.c +"Test_name.c", line 7: error: expected a ";" + } + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.26655.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26655.rto/default.1.1.txt new file mode 100644 index 0000000000..7810aef824 --- /dev/null +++ b/tests/tests/imported/microsoft/.26655.rto/default.1.1.txt @@ -0,0 +1,13 @@ +fe_only -DTEST_NUMBER=1 --microsoft Test_name.c +"Test_name.c", line 12: warning: return type of function "main" must be "int" + void main() + ^ + +"Test_name.c", line 14: warning: variable "a1" was declared but never referenced + auto a1 = { Event{ }, { } }; + ^ + +"Test_name.c", line 15: warning: variable "a2" was declared but never referenced + auto a2 = { Event{ }, Event{ } }; + ^ + diff --git a/tests/tests/imported/microsoft/.26656.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26656.rto/default.1.1.txt new file mode 100644 index 0000000000..eb8513f598 --- /dev/null +++ b/tests/tests/imported/microsoft/.26656.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --microsoft Test_name.c +"Test_name.c", line 5: warning: expression has no effect + (void*&)normal_function; + ^ + diff --git a/tests/tests/imported/microsoft/.26681.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26681.rto/default.1.1.txt new file mode 100644 index 0000000000..b4b7c90ab0 --- /dev/null +++ b/tests/tests/imported/microsoft/.26681.rto/default.1.1.txt @@ -0,0 +1,16 @@ +fe_only -DTEST_NUMBER=1 --microsoft Test_name.c +"Test_name.c", line 12: error: no instance of constructor "sFunc::sFunc" matches the argument list + argument types are: (int, int) + sFunc sfunc(0, 0); + ^ +"Test_name.c", line 5: note: number of parameters of function "sFunc::sFunc(const sFunc &)" does not match the call + struct sFunc + ^ +"Test_name.c", line 5: note: number of parameters of function "sFunc::sFunc(sFunc &&)" does not match the call + struct sFunc + ^ +"Test_name.c", line 7: note: function "sFunc::sFunc(int, Test)" does not match because argument #2 does not match parameter + sFunc(int i, Test v); + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.26720.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26720.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.26720.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.26722.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26722.rto/default.1.1.txt new file mode 100644 index 0000000000..3750f7eec7 --- /dev/null +++ b/tests/tests/imported/microsoft/.26722.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.26745.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26745.rto/default.1.1.txt new file mode 100644 index 0000000000..db083b3026 --- /dev/null +++ b/tests/tests/imported/microsoft/.26745.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.26748.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26748.rto/default.1.1.txt new file mode 100644 index 0000000000..db083b3026 --- /dev/null +++ b/tests/tests/imported/microsoft/.26748.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.26751.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26751.rto/default.1.1.txt new file mode 100644 index 0000000000..db083b3026 --- /dev/null +++ b/tests/tests/imported/microsoft/.26751.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.26758.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26758.rto/default.1.1.txt new file mode 100644 index 0000000000..db083b3026 --- /dev/null +++ b/tests/tests/imported/microsoft/.26758.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.26763.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26763.rto/default.1.1.txt new file mode 100644 index 0000000000..db083b3026 --- /dev/null +++ b/tests/tests/imported/microsoft/.26763.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.26773.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26773.rto/default.1.1.txt new file mode 100644 index 0000000000..89bcb15d73 --- /dev/null +++ b/tests/tests/imported/microsoft/.26773.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --g++ --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.26773.rto/edg_x86_64_cp.1.1.txt b/tests/tests/imported/microsoft/.26773.rto/edg_x86_64_cp.1.1.txt new file mode 100644 index 0000000000..de1ffd2741 --- /dev/null +++ b/tests/tests/imported/microsoft/.26773.rto/edg_x86_64_cp.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --g++ --c++17 Test_name.c +"Test_name.c", line 13: warning: expression must be a pointer to a complete object type + _cb[0] = nullptr; + ^ + diff --git a/tests/tests/imported/microsoft/.26795.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26795.rto/default.1.1.txt new file mode 100644 index 0000000000..77140cdf36 --- /dev/null +++ b/tests/tests/imported/microsoft/.26795.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1939 --c Test_name.c diff --git a/tests/tests/imported/microsoft/.26999.rto/default.1.1.txt b/tests/tests/imported/microsoft/.26999.rto/default.1.1.txt new file mode 100644 index 0000000000..ed9b9fba91 --- /dev/null +++ b/tests/tests/imported/microsoft/.26999.rto/default.1.1.txt @@ -0,0 +1,9 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1940 Test_name.c +"Test_name.c", line 16: error: more than one instance of constructor "year::year" matches the argument list: + function "year::year(int)" (declared at line 4) + function "year::year(year &&)" (declared implicitly) + argument types are: (U) + S{ {U{}} }; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.27053.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27053.rto/default.1.1.txt new file mode 100644 index 0000000000..c4985ffd88 --- /dev/null +++ b/tests/tests/imported/microsoft/.27053.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1940 -w Test_name.c diff --git a/tests/tests/imported/microsoft/.27054.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27054.rto/default.1.1.txt new file mode 100644 index 0000000000..c4985ffd88 --- /dev/null +++ b/tests/tests/imported/microsoft/.27054.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1940 -w Test_name.c diff --git a/tests/tests/imported/microsoft/.27055.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27055.rto/default.1.1.txt new file mode 100644 index 0000000000..c4985ffd88 --- /dev/null +++ b/tests/tests/imported/microsoft/.27055.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1940 -w Test_name.c diff --git a/tests/tests/imported/microsoft/.27056.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27056.rto/default.1.1.txt new file mode 100644 index 0000000000..17ae54ea74 --- /dev/null +++ b/tests/tests/imported/microsoft/.27056.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++latest --microsoft_v 1940 -w Test_name.c diff --git a/tests/tests/imported/microsoft/.27168.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27168.rto/default.1.1.txt new file mode 100644 index 0000000000..8a6cf75842 --- /dev/null +++ b/tests/tests/imported/microsoft/.27168.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 Test_name.c diff --git a/tests/tests/imported/microsoft/.27194.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27194.rto/default.1.1.txt new file mode 100644 index 0000000000..ed16f1f299 --- /dev/null +++ b/tests/tests/imported/microsoft/.27194.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27195.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27195.rto/default.1.1.txt new file mode 100644 index 0000000000..ed16f1f299 --- /dev/null +++ b/tests/tests/imported/microsoft/.27195.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27241.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27241.rto/default.1.1.txt new file mode 100644 index 0000000000..781acbc846 --- /dev/null +++ b/tests/tests/imported/microsoft/.27241.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 -w --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27261.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27261.rto/default.1.1.txt new file mode 100644 index 0000000000..a38d95f148 --- /dev/null +++ b/tests/tests/imported/microsoft/.27261.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c +"Test_name.c", line 15: warning: variable "b" was declared but never referenced + B b{ .a{} }; + ^ + diff --git a/tests/tests/imported/microsoft/.27516.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27516.rto/default.1.1.txt new file mode 100644 index 0000000000..ed16f1f299 --- /dev/null +++ b/tests/tests/imported/microsoft/.27516.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27531.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27531.rto/default.1.1.txt new file mode 100644 index 0000000000..db083b3026 --- /dev/null +++ b/tests/tests/imported/microsoft/.27531.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.27588.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27588.rto/default.1.1.txt new file mode 100644 index 0000000000..e2e5e4f8e2 --- /dev/null +++ b/tests/tests/imported/microsoft/.27588.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft Test_name.c diff --git a/tests/tests/imported/microsoft/.27599.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27599.rto/default.1.1.txt new file mode 100644 index 0000000000..ed16f1f299 --- /dev/null +++ b/tests/tests/imported/microsoft/.27599.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27632.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27632.rto/default.1.1.txt new file mode 100644 index 0000000000..f502289c96 --- /dev/null +++ b/tests/tests/imported/microsoft/.27632.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.27648.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27648.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.27648.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27654.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27654.rto/default.1.1.txt new file mode 100644 index 0000000000..ed16f1f299 --- /dev/null +++ b/tests/tests/imported/microsoft/.27654.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27658.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27658.rto/default.1.1.txt new file mode 100644 index 0000000000..ed16f1f299 --- /dev/null +++ b/tests/tests/imported/microsoft/.27658.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27660.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27660.rto/default.1.1.txt new file mode 100644 index 0000000000..ed16f1f299 --- /dev/null +++ b/tests/tests/imported/microsoft/.27660.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27661.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27661.rto/default.1.1.txt new file mode 100644 index 0000000000..ed16f1f299 --- /dev/null +++ b/tests/tests/imported/microsoft/.27661.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27675.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27675.rto/default.1.1.txt new file mode 100644 index 0000000000..7c2d35b4ce --- /dev/null +++ b/tests/tests/imported/microsoft/.27675.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c +"Test_name.c", line 20: warning: variable "my_state" was declared but never referenced + FarStates my_state{ + ^ + diff --git a/tests/tests/imported/microsoft/.27675.rto/default.2.1.txt b/tests/tests/imported/microsoft/.27675.rto/default.2.1.txt new file mode 100644 index 0000000000..56b8bb7484 --- /dev/null +++ b/tests/tests/imported/microsoft/.27675.rto/default.2.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=2 --c++20 Test_name.c +"Test_name.c", line 20: warning: variable "my_state" was declared but never referenced + FarStates my_state{ + ^ + diff --git a/tests/tests/imported/microsoft/.27677.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27677.rto/default.1.1.txt new file mode 100644 index 0000000000..dcbfba286a --- /dev/null +++ b/tests/tests/imported/microsoft/.27677.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c +"Test_name.c", line 47: warning: function "func" was declared but never referenced + static MyClass func() { + ^ + diff --git a/tests/tests/imported/microsoft/.27677.rto/default.2.1.txt b/tests/tests/imported/microsoft/.27677.rto/default.2.1.txt new file mode 100644 index 0000000000..55d4665259 --- /dev/null +++ b/tests/tests/imported/microsoft/.27677.rto/default.2.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=2 --c++20 Test_name.c +"Test_name.c", line 47: warning: function "func" was declared but never referenced + static MyClass func() { + ^ + diff --git a/tests/tests/imported/microsoft/.27684.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27684.rto/default.1.1.txt new file mode 100644 index 0000000000..ed16f1f299 --- /dev/null +++ b/tests/tests/imported/microsoft/.27684.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1940 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.27796.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27796.rto/default.1.1.txt new file mode 100644 index 0000000000..0449080edc --- /dev/null +++ b/tests/tests/imported/microsoft/.27796.rto/default.1.1.txt @@ -0,0 +1,17 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1942 Test_name.c +At end of source: error: expected a "}" +"Test_name.c", line 10: note: to match this "{" + class foobar { + ^ + +At end of source: error: expected an expression + +At end of source: error: expected a ")" + +At end of source: error: expected a "{" + +At end of source: error: expected a "}" + +At end of source: error: expected a ";" + +6 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.27808.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27808.rto/default.1.1.txt new file mode 100644 index 0000000000..7a996832a9 --- /dev/null +++ b/tests/tests/imported/microsoft/.27808.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --ms_c++latest --microsoft_v 1940 Test_name.c diff --git a/tests/tests/imported/microsoft/.27808.rto/default.2.1.txt b/tests/tests/imported/microsoft/.27808.rto/default.2.1.txt new file mode 100644 index 0000000000..7425cfdc6f --- /dev/null +++ b/tests/tests/imported/microsoft/.27808.rto/default.2.1.txt @@ -0,0 +1,11 @@ +fe_only -DTEST_NUMBER=2 --ms_c++latest --microsoft_v 1939 Test_name.c +"Test_name.c", line 4: warning: elifdef and elifndef are not enabled in this mode and are ignored in text being skipped + #elifndef B + ^ + +"Test_name.c", line 10: catastrophic error: #error directive: Feature not supported + #error Feature not supported + ^ + +1 catastrophic error detected in the compilation of "Test_name.c". +Compilation terminated. diff --git a/tests/tests/imported/microsoft/.27808.rto/default.3.1.txt b/tests/tests/imported/microsoft/.27808.rto/default.3.1.txt new file mode 100644 index 0000000000..29ba552e9a --- /dev/null +++ b/tests/tests/imported/microsoft/.27808.rto/default.3.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=3 --ms_c23 --microsoft_v 1940 Test_name.c diff --git a/tests/tests/imported/microsoft/.27808.rto/default.4.1.txt b/tests/tests/imported/microsoft/.27808.rto/default.4.1.txt new file mode 100644 index 0000000000..c3f0f6a7db --- /dev/null +++ b/tests/tests/imported/microsoft/.27808.rto/default.4.1.txt @@ -0,0 +1,11 @@ +fe_only -DTEST_NUMBER=4 --ms_c23 --microsoft_v 1939 Test_name.c +"Test_name.c", line 4: warning: elifdef and elifndef are not enabled in this mode and are ignored in text being skipped + #elifndef B + ^ + +"Test_name.c", line 10: catastrophic error: #error directive: Feature not supported + #error Feature not supported + ^ + +1 catastrophic error detected in the compilation of "Test_name.c". +Compilation terminated. diff --git a/tests/tests/imported/microsoft/.27873.rto/default.1.1.txt b/tests/tests/imported/microsoft/.27873.rto/default.1.1.txt new file mode 100644 index 0000000000..73c8c9177a --- /dev/null +++ b/tests/tests/imported/microsoft/.27873.rto/default.1.1.txt @@ -0,0 +1,6 @@ +fe_only -DTEST_NUMBER=1 --microsoft_v 1944 -W Test_name.c +"Test_name.c", line 4: error: attributes on lambdas are a C++23 feature + auto a = [] [[noreturn]] (auto z) { throw z; }; + ^ + +1 error detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.27873.rto/default.2.1.txt b/tests/tests/imported/microsoft/.27873.rto/default.2.1.txt new file mode 100644 index 0000000000..29c3e120a3 --- /dev/null +++ b/tests/tests/imported/microsoft/.27873.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 --microsoft_v 1944 --ms_c++23 Test_name.c diff --git a/tests/tests/imported/microsoft/.28016.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28016.rto/default.1.1.txt new file mode 100644 index 0000000000..4baab4a65e --- /dev/null +++ b/tests/tests/imported/microsoft/.28016.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1944 --ms_c++20 Test_name.c +"Test_name.c", line 16: warning: unknown attribute "msvc::intrinsic" + [[msvc::intrinsic]] constexpr _Ty&& forward(remove_reference_t<_Ty>& _Arg) noexcept { + ^ + diff --git a/tests/tests/imported/microsoft/.28016.rto/edg_x86_64_cp.1.1.txt b/tests/tests/imported/microsoft/.28016.rto/edg_x86_64_cp.1.1.txt new file mode 100644 index 0000000000..b6bc7de72c --- /dev/null +++ b/tests/tests/imported/microsoft/.28016.rto/edg_x86_64_cp.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1944 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.28044.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28044.rto/default.1.1.txt new file mode 100644 index 0000000000..86ed0d470f --- /dev/null +++ b/tests/tests/imported/microsoft/.28044.rto/default.1.1.txt @@ -0,0 +1,5 @@ +fe_only -DTEST_NUMBER=1 --c++23 Test_name.c +"Test_name.c", line 5: warning: variable "bf16" was declared but never referenced + std::bfloat16_t bf16 = 1.0bf16; + ^ + diff --git a/tests/tests/imported/microsoft/.28340.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28340.rto/default.1.1.txt new file mode 100644 index 0000000000..c13ff75a5b --- /dev/null +++ b/tests/tests/imported/microsoft/.28340.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --clang_v 190000 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.28468.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28468.rto/default.1.1.txt new file mode 100644 index 0000000000..6f943135ed --- /dev/null +++ b/tests/tests/imported/microsoft/.28468.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --c23 Test_name.c diff --git a/tests/tests/imported/microsoft/.28473.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28473.rto/default.1.1.txt new file mode 100644 index 0000000000..875448c828 --- /dev/null +++ b/tests/tests/imported/microsoft/.28473.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1949 Test_name.c diff --git a/tests/tests/imported/microsoft/.28486.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28486.rto/default.1.1.txt new file mode 100644 index 0000000000..b04b1c36be --- /dev/null +++ b/tests/tests/imported/microsoft/.28486.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1950 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.28618.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28618.rto/default.1.1.txt new file mode 100644 index 0000000000..57bc5b6595 --- /dev/null +++ b/tests/tests/imported/microsoft/.28618.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 Test_name.c +"Test_name.c", line 20: warning: variable "t" was declared but never referenced + test t; + ^ + diff --git a/tests/tests/imported/microsoft/.28619.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28619.rto/default.1.1.txt new file mode 100644 index 0000000000..6147f2aaf9 --- /dev/null +++ b/tests/tests/imported/microsoft/.28619.rto/default.1.1.txt @@ -0,0 +1,29 @@ +cpfe -DTEST_NUMBER=1 --c++23 Test_name.c +"Test_name.c", line 67: warning: attribute "deprecated" does not apply here + auto c = function{[] ()[[deprecated]] {}}; + ^ + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 61: note: because of a "deprecated" attribute + function a = [] [[deprecated]] () {}; + ^ + detected during instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 70: note: because of a "deprecated" attribute + auto d = function{[] [[deprecated]] (){}}; + ^ + detected during instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 73: note: because of a "deprecated" attribute + auto e = function{[] [[deprecated]] {}}; + ^ + detected during instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" + diff --git a/tests/tests/imported/microsoft/.28619.rto/default.2.1.txt b/tests/tests/imported/microsoft/.28619.rto/default.2.1.txt new file mode 100644 index 0000000000..43c895b9c9 --- /dev/null +++ b/tests/tests/imported/microsoft/.28619.rto/default.2.1.txt @@ -0,0 +1,29 @@ +cpfe -DTEST_NUMBER=2 --c++23 -A Test_name.c +"Test_name.c", line 67: warning: attribute "deprecated" does not apply here + auto c = function{[] ()[[deprecated]] {}}; + ^ + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 61: note: because of a "deprecated" attribute + function a = [] [[deprecated]] () {}; + ^ + detected during instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 70: note: because of a "deprecated" attribute + auto d = function{[] [[deprecated]] (){}}; + ^ + detected during instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 73: note: because of a "deprecated" attribute + auto e = function{[] [[deprecated]] {}}; + ^ + detected during instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" + diff --git a/tests/tests/imported/microsoft/.28619.rto/default.3.1.txt b/tests/tests/imported/microsoft/.28619.rto/default.3.1.txt new file mode 100644 index 0000000000..221ead4ad0 --- /dev/null +++ b/tests/tests/imported/microsoft/.28619.rto/default.3.1.txt @@ -0,0 +1,44 @@ +cpfe -DTEST_NUMBER=3 --c++23 --microsoft_v 1950 Test_name.c +"Test_name.c", line 67: warning: attribute "deprecated" does not apply here + auto c = function{[] ()[[deprecated]] {}}; + ^ + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 61: note: because of a "deprecated" attribute + function a = [] [[deprecated]] () {}; + ^ + detected during: + instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" at line 18 + implicit generation of "function::callable_impl::~callable_impl() noexcept [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of class "function::callable_impl [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of "function::callable_impl::callable_impl(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 30 + instantiation of "function::function(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 61 + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 70: note: because of a "deprecated" attribute + auto d = function{[] [[deprecated]] (){}}; + ^ + detected during: + instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" at line 18 + implicit generation of "function::callable_impl::~callable_impl() noexcept [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of class "function::callable_impl [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of "function::callable_impl::callable_impl(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 30 + instantiation of "function::function(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 70 + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 73: note: because of a "deprecated" attribute + auto e = function{[] [[deprecated]] {}}; + ^ + detected during: + instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" at line 18 + implicit generation of "function::callable_impl::~callable_impl() noexcept [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of class "function::callable_impl [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of "function::callable_impl::callable_impl(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 30 + instantiation of "function::function(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 73 + diff --git a/tests/tests/imported/microsoft/.28619.rto/default.4.1.txt b/tests/tests/imported/microsoft/.28619.rto/default.4.1.txt new file mode 100644 index 0000000000..0564d70778 --- /dev/null +++ b/tests/tests/imported/microsoft/.28619.rto/default.4.1.txt @@ -0,0 +1,44 @@ +cpfe -DTEST_NUMBER=4 --c++23 --gn 999999 Test_name.c +"Test_name.c", line 67: warning: attribute "deprecated" does not apply here + auto c = function{[] ()[[deprecated]] {}}; + ^ + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 61: note: because of a "deprecated" attribute + function a = [] [[deprecated]] () {}; + ^ + detected during: + instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" at line 18 + implicit generation of "function::callable_impl::~callable_impl() noexcept [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of class "function::callable_impl [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of "function::callable_impl::callable_impl(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 30 + instantiation of "function::function(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 61 + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 70: note: because of a "deprecated" attribute + auto d = function{[] [[deprecated]] (){}}; + ^ + detected during: + instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" at line 18 + implicit generation of "function::callable_impl::~callable_impl() noexcept [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of class "function::callable_impl [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of "function::callable_impl::callable_impl(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 30 + instantiation of "function::function(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 70 + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 73: note: because of a "deprecated" attribute + auto e = function{[] [[deprecated]] {}}; + ^ + detected during: + instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" at line 18 + implicit generation of "function::callable_impl::~callable_impl() noexcept [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of class "function::callable_impl [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of "function::callable_impl::callable_impl(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 30 + instantiation of "function::function(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 73 + diff --git a/tests/tests/imported/microsoft/.28619.rto/default.5.1.txt b/tests/tests/imported/microsoft/.28619.rto/default.5.1.txt new file mode 100644 index 0000000000..f5e20a9643 --- /dev/null +++ b/tests/tests/imported/microsoft/.28619.rto/default.5.1.txt @@ -0,0 +1,44 @@ +cpfe -DTEST_NUMBER=5 --c++23 --clang_v 999999 Test_name.c +"Test_name.c", line 67: warning: attribute "deprecated" does not apply here + auto c = function{[] ()[[deprecated]] {}}; + ^ + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 61: note: because of a "deprecated" attribute + function a = [] [[deprecated]] () {}; + ^ + detected during: + instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" at line 18 + implicit generation of "function::callable_impl::~callable_impl() noexcept [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of class "function::callable_impl [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of "function::callable_impl::callable_impl(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 30 + instantiation of "function::function(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 61 + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 70: note: because of a "deprecated" attribute + auto d = function{[] [[deprecated]] (){}}; + ^ + detected during: + instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" at line 18 + implicit generation of "function::callable_impl::~callable_impl() noexcept [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of class "function::callable_impl [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of "function::callable_impl::callable_impl(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 30 + instantiation of "function::function(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 70 + +"Test_name.c", line 20: warning: function "lambda []()->void" was declared deprecated + R invoke(Args... args) override { return f(static_cast(args)...); } + ^ +"Test_name.c", line 73: note: because of a "deprecated" attribute + auto e = function{[] [[deprecated]] {}}; + ^ + detected during: + instantiation of "R function::callable_impl::invoke(Args...) [with R=void, Args=<>, F=lambda []()->void]" at line 18 + implicit generation of "function::callable_impl::~callable_impl() noexcept [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of class "function::callable_impl [with R=void, Args=<>, F=lambda []()->void]" at line 18 + instantiation of "function::callable_impl::callable_impl(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 30 + instantiation of "function::function(F &&) [with R=void, Args=<>, F=lambda []()->void]" at line 73 + diff --git a/tests/tests/imported/microsoft/.28620.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28620.rto/default.1.1.txt new file mode 100644 index 0000000000..3fc6ca7128 --- /dev/null +++ b/tests/tests/imported/microsoft/.28620.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1942 --c++26 Test_name.c diff --git a/tests/tests/imported/microsoft/.28620.rto/default.2.1.txt b/tests/tests/imported/microsoft/.28620.rto/default.2.1.txt new file mode 100644 index 0000000000..13e80f0449 --- /dev/null +++ b/tests/tests/imported/microsoft/.28620.rto/default.2.1.txt @@ -0,0 +1,10 @@ +fe_only -DTEST_NUMBER=2 --microsoft_v 1942 Test_name.c +"Test_name.c", line 7: error: too many parameters for this operator function + auto operator[](size_t row, size_t col) -> size_t& { + ^ + +"Test_name.c", line 11: error: too many parameters for this operator function + auto operator[](size_t row, size_t col) const -> const size_t& { + ^ + +2 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.28621.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28621.rto/default.1.1.txt new file mode 100644 index 0000000000..cf3924d0fe --- /dev/null +++ b/tests/tests/imported/microsoft/.28621.rto/default.1.1.txt @@ -0,0 +1,5 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1944 --ms_c++latest Test_name.c +"Test_name.c", line 11: warning: variable "static_result" was declared but never referenced + constexpr auto static_result = with_static_constexpr(2); + ^ + diff --git a/tests/tests/imported/microsoft/.28621.rto/default.2.1.txt b/tests/tests/imported/microsoft/.28621.rto/default.2.1.txt new file mode 100644 index 0000000000..78723b8a88 --- /dev/null +++ b/tests/tests/imported/microsoft/.28621.rto/default.2.1.txt @@ -0,0 +1,17 @@ +fe_only -DTEST_NUMBER=2 --microsoft_v 1944 Test_name.c +"Test_name.c", line 5: error: variable in constexpr function does not have automatic storage duration + static constexpr int multiplier = 42; // Now allowed in constexpr functions + ^ + +"Test_name.c", line 11: error: expression must have a constant value + constexpr auto static_result = with_static_constexpr(2); + ^ +"Test_name.c", line 11: note: cannot call non-constexpr function "with_static_constexpr" (declared at line 4) + constexpr auto static_result = with_static_constexpr(2); + ^ + +"Test_name.c", line 11: warning: variable "static_result" was declared but never referenced + constexpr auto static_result = with_static_constexpr(2); + ^ + +2 errors detected in the compilation of "Test_name.c". diff --git a/tests/tests/imported/microsoft/.28655.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28655.rto/default.1.1.txt new file mode 100644 index 0000000000..954f8043b9 --- /dev/null +++ b/tests/tests/imported/microsoft/.28655.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++23 Test_name.c diff --git a/tests/tests/imported/microsoft/.28662.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28662.rto/default.1.1.txt new file mode 100644 index 0000000000..7957c914e9 --- /dev/null +++ b/tests/tests/imported/microsoft/.28662.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_v 1950 Test_name.c diff --git a/tests/tests/imported/microsoft/.28713.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28713.rto/default.1.1.txt new file mode 100644 index 0000000000..669d999e83 --- /dev/null +++ b/tests/tests/imported/microsoft/.28713.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --ms_c++20 --microsoft_version 1950 Test_name.c diff --git a/tests/tests/imported/microsoft/.28734.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28734.rto/default.1.1.txt new file mode 100644 index 0000000000..1c0ac64340 --- /dev/null +++ b/tests/tests/imported/microsoft/.28734.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 -w --microsoft_v 1950 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.28798.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28798.rto/default.1.1.txt new file mode 100644 index 0000000000..ff2c8da6fa --- /dev/null +++ b/tests/tests/imported/microsoft/.28798.rto/default.1.1.txt @@ -0,0 +1 @@ +fe_only -DTEST_NUMBER=1 --no_warnings --c++17 Test_name.c diff --git a/tests/tests/imported/microsoft/.28804.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28804.rto/default.1.1.txt new file mode 100644 index 0000000000..da4c4970ea --- /dev/null +++ b/tests/tests/imported/microsoft/.28804.rto/default.1.1.txt @@ -0,0 +1,9 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1950 --ms_c++20 Test_name.c +"Test_name.c", line 4: warning: "if consteval" and "if not consteval" are not standard in this mode + if consteval { + ^ + +"Test_name.c", line 11: warning: variable "val" was declared but never referenced + constexpr int val = square(5); + ^ + diff --git a/tests/tests/imported/microsoft/.28886.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28886.rto/default.1.1.txt new file mode 100644 index 0000000000..fd86d8c186 --- /dev/null +++ b/tests/tests/imported/microsoft/.28886.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.28886.rto/default.2.1.txt b/tests/tests/imported/microsoft/.28886.rto/default.2.1.txt new file mode 100644 index 0000000000..94c96916c7 --- /dev/null +++ b/tests/tests/imported/microsoft/.28886.rto/default.2.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=2 --microsoft_v 1950 --ms_c++20 Test_name.c diff --git a/tests/tests/imported/microsoft/.28995.rto/default.1.1.txt b/tests/tests/imported/microsoft/.28995.rto/default.1.1.txt new file mode 100644 index 0000000000..41a37702a3 --- /dev/null +++ b/tests/tests/imported/microsoft/.28995.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 -w --microsoft_v 1950 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/.29003.rto/default.1.1.txt b/tests/tests/imported/microsoft/.29003.rto/default.1.1.txt new file mode 100644 index 0000000000..85cfb3a26d --- /dev/null +++ b/tests/tests/imported/microsoft/.29003.rto/default.1.1.txt @@ -0,0 +1 @@ +cpfe -DTEST_NUMBER=1 --microsoft_v 1951 --ms_c++latest Test_name.c diff --git a/tests/tests/imported/microsoft/13388.sft.cpp b/tests/tests/imported/microsoft/13388.sft.cpp new file mode 100644 index 0000000000..695173b014 --- /dev/null +++ b/tests/tests/imported/microsoft/13388.sft.cpp @@ -0,0 +1,15 @@ +//options_all:--microsoft --c++14 +//type:fn +template +struct list +{ +static int const values[]; +}; + +template +int const list::values[] = { Pack... }; + +int main() +{ +list<>::values; // Error expected here, cannot create an array with 0 elements. +} diff --git a/tests/tests/imported/microsoft/13389.sft.cpp b/tests/tests/imported/microsoft/13389.sft.cpp new file mode 100644 index 0000000000..2bcca3018f --- /dev/null +++ b/tests/tests/imported/microsoft/13389.sft.cpp @@ -0,0 +1,23 @@ +//options_all:--c++14 --microsoft +template +class OUTER +{ +public: +template +class INNER; +}; + +template +template +struct OUTER::INNER +{ +class INNERINNER; +}; + +template +template +class OUTER::INNER::INNERINNER {}; + +int main() { +OUTER<>::INNER<>::INNERINNER a; +} diff --git a/tests/tests/imported/microsoft/13464.sft.cpp b/tests/tests/imported/microsoft/13464.sft.cpp new file mode 100644 index 0000000000..bccdc26d6b --- /dev/null +++ b/tests/tests/imported/microsoft/13464.sft.cpp @@ -0,0 +1,26 @@ +//type:fn +//options_all:--microsoft --c++14 +template +struct C1 { +}; + +template +struct K +{ +}; + +struct AA +{ + template