1// Copyright (c) 2012 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5// Tests 'reserved words' in various places in IDL. 6 7namespace reserved_words { 8 9 enum Foo { _float, _DOMString }; 10 11 enum _enum { 12 _callback, 13 _namespace 14 }; 15 16 dictionary _dictionary { 17 long _long; 18 }; 19 20 dictionary MyType { 21 DOMString _interface; 22 }; 23 24 interface Functions { 25 static void _static(Foo foo, _enum e); 26 }; 27}; 28