Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/init/static-init1.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// Related to the patch for 38880. // Make sure we don't think we can initialize a at compile time. char c; short a[] = { (short)((__PTRDIFF_TYPE__)&c + (__PTRDIFF_TYPE__)&c) };