File: csccbug.cs

package info (click to toggle)
antlr 2.7.7%2Bdfsg-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,016 kB
  • sloc: java: 54,649; cs: 12,537; makefile: 8,854; cpp: 7,359; pascal: 5,273; sh: 4,333; python: 4,297; lisp: 1,969; xml: 220; lex: 192; ansic: 127
file content (20 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (33)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20



// wh: bug(?) in DotGNU 0.6 - "using antlr" will workaround the problem.
#if __CSCC__
using antlr;
#endif

class CSCCBUG_11519 {}   


// The above will make the example to compilable by CSCC but that does
// not guarantee that we can execute. On Mandrake 1o and cscc 0.6.0 I'
// m getting this on execution:
//
//  $ ilrun ./test1.exe 
//  SupportTest::Main [2487] - callvirt at verify_call.c:2031
//  Uncaught exception: System.Security.VerificationException: Could not verify the code
//
// Giving up.