Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
class-5_c.C
blob: ee3250d7bed21dab67c93d343426d58568e74f2f [
file
] [
log
] [
blame
]
// { dg-additional-options "-fmodules-ts" }
import
One
;
int
vcall
(
base
*
ptr
)
{
return
ptr
->
getter
();
}
int
main
()
{
base
b
(
0xfeed
);
if
(!(
vcall
(&
b
)
==
0xfeed
))
return
1
;
return
0
;
}