Mercurial > hg > CbC > CbC_gcc
annotate 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 |
rev | line source |
---|---|
145 | 1 /* TEST_OUTPUT: |
2 --- | |
3 fail_compilation/cwords.d(13): Error: undefined identifier `FALSE`, did you mean `false`? | |
4 fail_compilation/cwords.d(14): Error: undefined identifier `TRUE`, did you mean `true`? | |
5 fail_compilation/cwords.d(15): Error: undefined identifier `NULL`, did you mean `null`? | |
6 fail_compilation/cwords.d(16): Error: undefined identifier `unsigned`, did you mean `uint`? | |
7 --- | |
8 */ | |
9 | |
10 | |
11 void foo() | |
12 { | |
13 bool a = FALSE; | |
14 bool b = TRUE; | |
15 int* p = NULL; | |
16 unsigned u; | |
17 } |