515N/A/*
553N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
515N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
515N/A *
515N/A * This code is free software; you can redistribute it and/or modify it
515N/A * under the terms of the GNU General Public License version 2 only, as
515N/A * published by the Free Software Foundation.
515N/A *
515N/A * This code is distributed in the hope that it will be useful, but WITHOUT
515N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
515N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
515N/A * version 2 for more details (a copy is included in the LICENSE file that
515N/A * accompanied this code).
515N/A *
515N/A * You should have received a copy of the GNU General Public License version
515N/A * 2 along with this work; if not, write to the Free Software Foundation,
515N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
515N/A *
553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
553N/A * or visit www.oracle.com if you need additional information or have any
553N/A * questions.
515N/A */
515N/A
515N/A
515N/A/*
515N/A * This file is not a regular test, but is processed by ./TreePosTest.java,
515N/A * which verifies the position info in the javac tree.
515N/A * To run the test standalone, compile TreePosTest, then run TreePosTest
515N/A * on this file.
515N/A * @bug 6931927
515N/A * @summary position issues with synthesized anonymous class
515N/A */
515N/Aclass TestAnnotatedAnonClass {
515N/A void m() {
515N/A Object o = new @Deprecated Object() { };
515N/A }
515N/A}