test/tools/javac/diags/examples/KindnameConstructor.java

changeset 929
e2890b8369f7
parent 689
77cc34d5e548
child 1296
cddc2c894cc6
equal deleted inserted replaced
928:307b065ff2af 929:e2890b8369f7
1 /* 1 /*
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
26 // key: compiler.misc.no.args 26 // key: compiler.misc.no.args
27 // key: compiler.err.cant.apply.symbol.1 27 // key: compiler.err.cant.apply.symbol.1
28 // key: compiler.misc.arg.length.mismatch 28 // key: compiler.misc.arg.length.mismatch
29 // key: compiler.misc.no.conforming.assignment.exists 29 // key: compiler.misc.no.conforming.assignment.exists
30 // key: compiler.misc.count.error.plural 30 // key: compiler.misc.count.error.plural
31 // key: compiler.err.error
31 // run: backdoor 32 // run: backdoor
32 33
33 class KindnameConstructor { 34 class KindnameConstructor {
34 35
35 KindnameConstructor(Integer x) {} 36 KindnameConstructor(Integer x) {}

mercurial