/* * Duplicate member in struct. */ struct S { long a; char a; };
idl 源代码
IDL是一种数据分析和图像化应用程序及编程语言,先由美国ITT公司所有,后由美国ExelisVis公司所有。最初在七十年代后期用于帮助科学家分析火星探险卫星发回的数据,将浩瀚的数据转换为图形。从此后,IDL得到广泛运用,使用者日众,呈几何级别增长。IDL使用者可以迅速且方便地运用…
/* * Duplicate member in union. */ union U switch(long) { case 1: long a; case 2: char a; };
/* * Parse error */ struct S { long x; char !!!a; };
/* * Can not inherit from an incomplete interface definition. */ interface A; interface B : A {}; interface A { };
/* * Bad #pragma directive // not an error any more */ #pragma foobar "omg.org" typedef string Identifier;
/* * case labels come from wrong enum */ enum E2 { C, D }; union U switch( enum E1 { A, B } ) { case ::U::A: long a; c…
/* * 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; };