summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/brace5.C
blob: 696bbd676d09abfc3611bea3d7e5cfc3cf583410 (plain)
1
2
3
4
5
6
7
// PR c++/27491
// { dg-do compile }
// { dg-options "" }

int i = (int) { 0 };
int j = (int) { i };
int k = (int) { k };