UnterminatedLineComment.java revision 0
98N/A/*
98N/A * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
98N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
98N/A *
1072N/A * This code is free software; you can redistribute it and/or modify it
98N/A * under the terms of the GNU General Public License version 2 only, as
98N/A * published by the Free Software Foundation.
919N/A *
919N/A * This code is distributed in the hope that it will be useful, but WITHOUT
919N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
919N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
919N/A * version 2 for more details (a copy is included in the LICENSE file that
919N/A * accompanied this code).
919N/A *
919N/A * You should have received a copy of the GNU General Public License version
919N/A * 2 along with this work; if not, write to the Free Software Foundation,
919N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
919N/A *
919N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
919N/A * CA 95054 USA or visit www.sun.com if you need additional information or
919N/A * have any questions.
919N/A */
919N/A
919N/A/*
98N/A * @test
98N/A * @bug 4316827 4733858
98N/A * @summary No diagnostic reported for "//" with no following LineTerminator
98N/A *
493N/A * @run compile UnterminatedLineComment.java
98N/A */
98N/A
1184N/A/* Note: this test file is carefully crafted to end with a single-line
98N/A * comment that is NOT followed by a newline. If you edit this file,
911N/A * please make sure your editor does not insert a newline there.
1184N/A */
1184N/A