summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/complit4.C
blob: 1448e7a66b3b76e4fb4d3d003731e23368951b15 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/23172
// { dg-do run }
// { dg-options "" }

int i = (int) {7};

int main () {
  if (i != 7)
    return 1;
}