gcc/testsuite/g++.dg/modules/concept-5_b.C
raw| 1 | // { dg-additional-options "-fmodules-ts -fconcepts -fdump-lang-module-alias" } |
| 2 | |
| 3 | #include "concept-5.h" |
| 4 | import "concept-5_a.H"; |
| 5 | |
| 6 | static_assert (f1 ('a') == 1); |
| 7 | static_assert (f1 (0xa) == 0); |
| 8 | |
| 9 | // { dg-final { scan-lang-dump-times {named merge key \(matched\) template_decl:'::template f1'} 2 module } } |
| 10 | // { dg-final { scan-lang-dump-not {merge key \(new\)} module } } |