summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr65736.C
blob: 6e9c7fb990c1ea4b424e30013bee5a04a03dbcbc (plain)
1
2
3
4
5
// PR c++/65736
// { dg-do compile { target c++11 } }

int a[1];                                                                                                                                 
char *b[1] { (char *)&a[0] + 1 };