• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revision34f1a1d7a521167295dcad69acc4177f90ea3827 (tree)
Zeit2020-01-09 23:07:33
AutorSergey Gusarov
CommiterSergey Gusarov

Log Message

test_language: Unique constants

Ändern Zusammenfassung

Diff

diff -r 3bfd99583ec0 -r 34f1a1d7a521 .hgsubstate
--- a/.hgsubstate Mon Dec 03 10:28:23 2018 +0300
+++ b/.hgsubstate Thu Jan 09 17:07:33 2020 +0300
@@ -1,4 +1,4 @@
11 f594b151dc1d2ac91a2a17f3d48e0a23e3393460 cmake/cmake_tools
22 5013d507802becd2c434d4dbdafad45c3da5ef23 include/ctools/std/msinttypes
3-b0107650ec07a5353c6a82435fa78362f4d658ff pyrepo
3+f3452bef2a7f74cd9b5024fdbd3e5a37794e3cba pyrepo
44 8723d50f0e345fb43c5448d2bdabe6766ca9286d tests/unity
diff -r 3bfd99583ec0 -r 34f1a1d7a521 tests/src/predef/test_language.c
--- a/tests/src/predef/test_language.c Mon Dec 03 10:28:23 2018 +0300
+++ b/tests/src/predef/test_language.c Thu Jan 09 17:07:33 2020 +0300
@@ -34,18 +34,18 @@
3434 #elif defined (CT_LANG_C11)
3535 int a = 2;
3636 #elif defined (CT_LANG_C18)
37- int a = 2;
37+ int a = 3;
3838 #elif defined (CT_LANG_CXX11)
39- int a = 3;
39+ int a = 4;
4040 #elif defined (CT_LANG_CXX14)
41- int a = 4;
41+ int a = 5;
4242 #elif defined (CT_LANG_CXX17)
43- int a = 5;
43+ int a = 6;
4444 #elif defined (CT_LANG_OBJC)
45- int a = 6;
45+ int a = 7;
4646 #elif defined (CT_COMPL_MSVC) || defined (CT_COMPL_BCC)
4747 // These compilers don't support some of above mentioned standards
48- int a = 7;
48+ int a = 8;
4949 #endif
5050
5151 CT_UNUSED(a);
Show on old repository browser