Debian Codegraph @

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

raw
1 // { dg-additional-options "-fmodules-ts -fno-inline" }
2 export module Bar;
3 // { dg-module-cmi Bar }
4
5 import Foo;
6
7 // { dg-final { scan-assembler {_?_ZGIW3Bar:} } }
8 // There should be an idempotency check
9 // { dg-final { scan-assembler {_ZZ9_ZGIW3BarE9__in_chrg} } }
10 // { dg-final { scan-assembler {call[ \t]+_?_ZGIW3Foo} { target i?86-*-* x86_64-*-* } } }
11 // { dg-final { scan-assembler {.(quad|long)[ \t]+_?_ZGIW3Bar} { target i?86-*-* x86_64-*-* } } }