====================================== cdecl 11.14: test/test-suite.log ====================================== # TOTAL: 1618 # PASS: 1610 # SKIP: 0 # XFAIL: 0 # FAIL: 8 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 RUN: tests/declare_enc-c ======================== --- ./expected/declare_enc-c.out 2022-03-10 14:06:56.000000000 +0000 +++ tests/declare_enc-c.log 2022-03-17 14:50:09.064715104 +0000 @@ -1,7 +1,7 @@ declare x as enum class C ^ 9: warning: "class" is a keyword in C++98 +enum class x; declare x as enum class C ^ 25: syntax error: "C": unexpected token -enum class x; RUN: tests/explain_ipi-redef ============================ --- ./expected/explain_ipi-redef.out 2022-03-10 14:06:56.000000000 +0000 +++ tests/explain_ipi-redef.log 2022-03-17 14:50:10.254722414 +0000 @@ -1,4 +1,4 @@ +declare x as int explain int x, *x ^ 16: error: "x": redefinition with different type -declare x as int RUN: tests/explain_rtf_v-error ============================== --- ./expected/explain_rtf_v-error.out 2022-03-10 14:06:56.000000000 +0000 +++ tests/explain_rtf_v-error.log 2022-03-17 14:50:10.364723090 +0000 @@ -1,4 +1,4 @@ +declare f as function returning void explain void f() restrict ^ 18: syntax error: "restrict": unexpected token ("restrict" is a keyword) -declare f as function returning void RUN: tests/declare_ai-c++11 =========================== --- ./expected/declare_ai-c++11.out 2022-03-10 14:06:56.000000000 +0000 +++ tests/declare_ai-c++11.log 2022-03-17 14:50:11.564730461 +0000 @@ -1,4 +1,4 @@ +auto x; declare x as auto int ^ 19: syntax error: "int": unexpected token ("int" is a keyword) -auto x; RUN: tests/explain_2i-redef-c++ =============================== --- ./expected/explain_2i-redef-c++.out 2022-03-10 14:06:56.000000000 +0000 +++ tests/explain_2i-redef-c++.log 2022-03-17 14:50:12.544736482 +0000 @@ -1,4 +1,4 @@ +declare x as int explain int x, x ^ 9: error: "x": redefinition -declare x as int RUN: tests/explain_pcf_i ======================== --- ./expected/explain_pcf_i.out 2022-03-10 14:06:56.000000000 +0000 +++ tests/explain_pcf_i.log 2022-03-17 14:50:12.644737096 +0000 @@ -1,4 +1,4 @@ +declare f as pointer to int explain int (*f) const ^ 18: syntax error: "const": unexpected token ("const" is a keyword); did you mean "cast"? -declare f as pointer to int RUN: tests/explain_th_f_v ========================= --- ./expected/explain_th_f_v.out 2022-03-10 14:06:56.000000000 +0000 +++ tests/explain_th_f_v.log 2022-03-17 14:50:12.704737464 +0000 @@ -1,4 +1,4 @@ +declare f as function returning void explain void f() throw() ^ 18: syntax error: "throw": unexpected token; not a keyword until C++98; did you mean "show"? -declare f as function returning void RUN: tests/explain_udl_c_i-c ============================ --- ./expected/explain_udl_c_i-c.out 2022-03-10 14:06:56.000000000 +0000 +++ tests/explain_udl_c_i-c.log 2022-03-17 14:50:13.524742502 +0000 @@ -1,7 +1,7 @@ explain int operator"" _x(char) ^ 9: warning: "operator" is a keyword in C++98 +declare operator as int explain int operator"" _x(char) ^ 21: syntax error: """": unexpected token -declare operator as int