blob: 8d00edb5693fdbf212c639ef016fe7e227c8d23e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* Tests type annotations in type decls
*/
public class test3 {
interface I {}
class inner implements @test3Annotation I {
}
class inner2 extends @test3Annotation inner implements @test3Annotation I {
}
}
@Target({ElementType.TYPE_USE})
@interface test3Annotation {
}