☰
Debian Codegraph
@
1.5.5.8-1
/
/
src
/
test
/
06-Errors
/
error-ctor-global.ck
☽
☼
src/test/06-Errors/error-ctor-global.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
1
// error case: global Object cannot invoke non-default constructors
2
global Foo foo(6);
3
4
// public class def
5
public class Foo
6
{
7
fun void Foo( int x )
8
{
9
<<< "constructor:", x >>>;
10
}
11
}