/* * case labels come from wrong enum */ enum E2 { C, D }; union U switch( enum E1 { A, B } ) { case ::U::A: long a; c…
idl 源代码
IDL是一种数据分析和图像化应用程序及编程语言,先由美国ITT公司所有,后由美国ExelisVis公司所有。最初在七十年代后期用于帮助科学家分析火星探险卫星发回的数据,将浩瀚的数据转换为图形。从此后,IDL得到广泛运用,使用者日众,呈几何级别增长。IDL使用者可以迅速且方便地运用…
/* * constant declaration of improper type */ typedef any _ANY; const _ANY c = 1;
/* * No available value for explicit default case label */ union U switch(boolean) { case TRUE: long x; case FALSE: long y;…
/* * Duplicate member in enum. */ enum E { A, B, A };
typedef char CHAR; module M3 { #pragma prefix "hello" typedef short SHORT; };
typedef string STRING;
#ifndef _SECURITY_LEVEL_1_IDL_ #define _SECURITY_LEVEL_1_IDL_ #include #include #pragma prefix "omg.org" module SecurityLevel…
// // MICO CSIv2 --- an Open Source CSIv2 implementation // Copyright (C) 2002 ObjectSecurity Ltd. // // This library is free s…
#ifndef _SECURITY_LEVEL_2_IDL_ #define _SECURITY_LEVEL_2_IDL_ #include #pragma prefix "omg.org" module SecurityLevel2 { …
/* * Wrong union label with an enum as a discriminator. */ enum E { A, B }; union U switch(E) { case A: long a; case C…