488N/A/*
553N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
488N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
488N/A *
488N/A * This code is free software; you can redistribute it and/or modify it
488N/A * under the terms of the GNU General Public License version 2 only, as
488N/A * published by the Free Software Foundation.
488N/A *
488N/A * This code is distributed in the hope that it will be useful, but WITHOUT
488N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
488N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
488N/A * version 2 for more details (a copy is included in the LICENSE file that
488N/A * accompanied this code).
488N/A *
488N/A * You should have received a copy of the GNU General Public License version
488N/A * 2 along with this work; if not, write to the Free Software Foundation,
488N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
488N/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.
488N/A */
488N/A
488N/A/*
488N/A * This file is not a regular test, but is processed by ./TreeScannerTest.java,
488N/A * which verifies the operation of the javac TreeScanner.
488N/A * @bug 6923080
488N/A * @summary TreeScanner.visitNewClass should scan tree.typeargs
488N/A */
488N/Aclass T6923080 {
488N/A void test() {
488N/A C c = new <Integer>C(); // exercises TreeScanner.visitNewClass
488N/A Object o = c.<Float>m(); // exercises TreeScanner.visitApply
488N/A }
488N/A
488N/A static class C {
488N/A <T> C() { }
488N/A <T> T m() { return null; }
488N/A }
488N/A}