Merge pull request #5439 from alexrp/master
[mono.git] / mcs / tests / gtest-345.cs
1 using System;
2 using System.Diagnostics;
3
4 public class ShiftReduceParser<TokenValueType, TokenLocationType>
5 {
6         [Conditional ("DUMP")]
7         public static void Dump (string format)
8         {
9                 throw new ApplicationException ();
10         }
11 }
12
13 public class Parser : ShiftReduceParser<int, int>
14 {
15         [Conditional ("DUMP")]
16         static void NoCall<T> (T t)
17         {
18         }
19         
20         public static int Main ()
21         {
22                 Dump ("Should not be called");
23                 NoCall (1);
24                 
25                 return 0;
26         }
27 }