mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
18 lines
244 B
D
18 lines
244 B
D
// COMPILE_SEPARATELY:
|
|
// EXTRA_SOURCES: imports/test31a.d
|
|
// PERMUTE_ARGS:
|
|
|
|
import imports.test31a;
|
|
|
|
class Foo {
|
|
mixin Baz!();
|
|
|
|
void testfunc() {
|
|
privfunc(); // Error: .privfunc is private
|
|
}
|
|
}
|
|
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|