summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/array1.C
blob: a58d3363bcdcf92d8f7618727eb27d2746cc43b4 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// { dg-options "-fconserve-space -fcommon" }
// GROUPS passed array-bindings

extern "C" int printf (const char *, ...);
char array[~(~((__SIZE_TYPE__)0ul)>>1)|~(((__SIZE_TYPE__)0ul)>>3)];  // { dg-error "" } overflow in array dimension.*
int main () { printf ("PASS\n"); return 0; }