Debian Codegraph @

gcc/testsuite/g++.dg/modules/init-4_b.C

raw
1 // PR c++/112899
2 // { dg-module-do run }
3 // { dg-additional-options "-fmodules-ts" }
4
5 import M;
6
7 int main() {
8 const int& x = A::x;
9 if (x != -1)
10 __builtin_abort();
11 }