1/* 2 * Copyright (C) 2016 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16package tests.errors.syntax@1.0; 17 18interface IGood { 19 20 enum SomeBaseEnum : uint8_t { 21 bar = 66 22 }; 23 24 enum SomeEnum : SomeBaseEnum { 25 }; 26 27 struct Fumble { 28 }; 29 30 typedef Fumble Gumble; 31 32 struct Goober { 33 34 }; 35 36 typedef float[3] ThreeFloats; 37 typedef float[5] FiveFloats; 38 39 struct Quux { 40 string first; 41 string last; 42 }; 43 44 struct MultiDimensional { 45 }; 46 47 48 struct StringMatrix3x5 { 49 }; 50 51 struct StringMatrix5x3 { 52 }; 53 54 struct MyStruct { 55 }; 56 57 doThis(float param); 58 59}; 60