Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gdc.test/fail_compilation/cwords.d @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* TEST_OUTPUT: --- fail_compilation/cwords.d(13): Error: undefined identifier `FALSE`, did you mean `false`? fail_compilation/cwords.d(14): Error: undefined identifier `TRUE`, did you mean `true`? fail_compilation/cwords.d(15): Error: undefined identifier `NULL`, did you mean `null`? fail_compilation/cwords.d(16): Error: undefined identifier `unsigned`, did you mean `uint`? --- */ void foo() { bool a = FALSE; bool b = TRUE; int* p = NULL; unsigned u; }