Debian Codegraph @

gcc/testsuite/g++.dg/modules/dr2867-2_b.C

raw
1 // CWG2867 - Order of initialization for structured bindings.
2 // { dg-do run }
3 // { dg-additional-options "-fmodules-ts" }
4
5 import "dr2867-2_a.H";
6
7 int a, c;
8
9 int
10 main ()
11 {
12 assert (a == 0);
13 }