Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-345.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d191885cca3d0e8cca7ee1a11a54404c385d66c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Diagnostics;

public class ShiftReduceParser<TokenValueType, TokenLocationType>
{
	[Conditional ("DUMP")]
	public static void Dump (string format)
	{
		throw new ApplicationException ();
	}
}

public class Parser : ShiftReduceParser<int, int>
{
	[Conditional ("DUMP")]
	static void NoCall<T> (T t)
	{
	}
	
	public static int Main ()
	{
		Dump ("Should not be called");
		NoCall (1);
		
		return 0;
	}
}