gcc/testsuite/g++.dg/modules/lambda-2_b.C
raw| 1 | // { dg-additional-options "-fmodules-ts -fno-module-lazy -fdump-lang-module-alias" } |
| 2 | // Not an ODR violation! |
| 3 | #include "lambda-2.h" |
| 4 | import "lambda-2_a.H"; |
| 5 | |
| 6 | // { dg-bogus "conflicting" "not an odr violation" } |
| 7 | // { dg-final { scan-lang-dump {Read:-[0-9]*'s attached merge key \(matched\) type_decl:'#null#'} module } } |
| 8 | // { dg-final { scan-lang-dump {Read -[0-9]*\[0\] matched attached decl '::._anon_0'} module } } |