Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gdc.test/compilable/b12001.d @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
void main() { static assert(__traits(isSame, int, int)); static assert(__traits(isSame, int[][], int[][])); static assert(__traits(isSame, bool*, bool*)); static assert(!__traits(isSame, bool*, bool[])); static assert(!__traits(isSame, float, double)); }