Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
protection
/
bug
/
bug14275.d
blob: 90b7ea7a03ae3193ff952f78de628130780d43e4 [
file
] [
log
] [
blame
]
module
protection
.
bug
.
bug14275
;
import
protection
.
aggregate
.
mod14275
;
// https://issues.dlang.org/show_bug.cgi?id=14275
void
main
()
{
Foo
f
;
f
.
foo
();
static
assert
(!
is
(
typeof
(
f
.
foo2
())));
bar
();
}