Debian Codegraph @

gcc/testsuite/g++.dg/modules/pr99232_b.C

raw
1 // PR c++/99232
2 // { dg-module-do run }
3 // { dg-additional-options "-fmodules-ts" }
4
5 import pr99232;
6
7 double foo() { return lambda * 2.0; }
8 static_assert(a == 42);
9
10 int main() {
11 if (&lambda != get_lambda_addr())
12 __builtin_abort();
13 }