Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
class-4_b.C
blob: 1cd3998405256894787ac11b7a8c6c51ef3bc01e [
file
] [
log
] [
blame
]
// { dg-additional-options "-fmodules-ts" }
import
One
;
int
main
()
{
base
b
(
0xfeed
);
if
(!(
b
.
b
==
0xfeed
))
return
1
;
derived d
(
0xcafe
,
0xbeef
);
if
(!(
d
.
b
==
0xcafe
&&
d
.
d
==
0xbeef
))
return
2
;
return
0
;
}