5003b4008868032decd27b09f87bc1222ce1b783Joe Bandenburg/*
5003b4008868032decd27b09f87bc1222ce1b783Joe Bandenburg * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
68072642abc17daa5de66abc3f5a7d1a7fa28df4Phil Ostler * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5003b4008868032decd27b09f87bc1222ce1b783Joe Bandenburg *
5003b4008868032decd27b09f87bc1222ce1b783Joe Bandenburg * This code is free software; you can redistribute it and/or modify it
2c06a19ea78922141c3b7dd3a2eed97b6be769c7Phil Ostler * under the terms of the GNU General Public License version 2 only, as
e5276054a98c3b8533446e12cf36d5f4f6e3ae8aPhil Ostler * published by the Free Software Foundation.
e5276054a98c3b8533446e12cf36d5f4f6e3ae8aPhil Ostler *
e5276054a98c3b8533446e12cf36d5f4f6e3ae8aPhil Ostler * This code is distributed in the hope that it will be useful, but WITHOUT
3744fd33666648bc38d51c2e5ae882f6217ba973Phil Ostler * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3744fd33666648bc38d51c2e5ae882f6217ba973Phil Ostler * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2c06a19ea78922141c3b7dd3a2eed97b6be769c7Phil Ostler * version 2 for more details (a copy is included in the LICENSE file that
e5276054a98c3b8533446e12cf36d5f4f6e3ae8aPhil Ostler * accompanied this code).
2c06a19ea78922141c3b7dd3a2eed97b6be769c7Phil Ostler *
2c06a19ea78922141c3b7dd3a2eed97b6be769c7Phil Ostler * You should have received a copy of the GNU General Public License version
5003b4008868032decd27b09f87bc1222ce1b783Joe Bandenburg * 2 along with this work; if not, write to the Free Software Foundation,
5003b4008868032decd27b09f87bc1222ce1b783Joe Bandenburg * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
be383f2b623f6f8c2835ff440d216164c9e782dePhil Ostler *
7c7cf27656c20d2fa7d94f706d645561ff7ee26bJoe Bandenburg * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c9af5b97c5aa9f281c6750f93736a3d494e72a3cPhil Ostler * or visit www.oracle.com if you need additional information or have any
47f59a32a741e47285e7a5795babe50e1e0571e9Phil Ostler * questions.
be383f2b623f6f8c2835ff440d216164c9e782dePhil Ostler */
be383f2b623f6f8c2835ff440d216164c9e782dePhil Ostler
74f2ff66809c2c27078eb38e3995a153bded9ca7Phil Ostler/*
47f59a32a741e47285e7a5795babe50e1e0571e9Phil Ostler * @test
1be69c3d0cb53b15d4522be4236ea785d3535e06Phil Ostler * @bug 4865660
825396f66be8e99fa60124ac9497cf1b454c43b7Phil Ostler * @summary implement "metadata" (attribute interfaces and program annotations)
1be69c3d0cb53b15d4522be4236ea785d3535e06Phil Ostler * @author gafter
74f2ff66809c2c27078eb38e3995a153bded9ca7Phil Ostler *
6ff269bd8fbb34a6ba1422f8ef579af819068e87Phil Ostler * @compile/fail Z12.java
74f2ff66809c2c27078eb38e3995a153bded9ca7Phil Ostler */
1be69c3d0cb53b15d4522be4236ea785d3535e06Phil Ostler
be383f2b623f6f8c2835ff440d216164c9e782dePhil Ostlerenum Color { red, green, blue }
c9af5b97c5aa9f281c6750f93736a3d494e72a3cPhil Ostler
6ff269bd8fbb34a6ba1422f8ef579af819068e87Phil Ostler@interface An {
3275f8e43c9842647ae87a5e88cd415774ae27baPhil Ostler void a();
47f59a32a741e47285e7a5795babe50e1e0571e9Phil Ostler}
47f59a32a741e47285e7a5795babe50e1e0571e9Phil Ostler