Skip to content

Commit

Permalink
New tests.
Browse files Browse the repository at this point in the history
svn path=/trunk/mcs/; revision=144195
  • Loading branch information
marek-safar committed Oct 15, 2009
1 parent e38feeb commit 280d429
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mcs/errors/gcs0173.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `lambda expression' and `lambda expression'
// CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `anonymous method' and `anonymous method'
// Line: 11

using System;
Expand Down
10 changes: 10 additions & 0 deletions mcs/errors/gcs0307-3.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// CS0307: The variable `a' cannot be used with type arguments
// Line: 9

public class Tests
{
public static void Test (int a)
{
a<int> ();
}
}
11 changes: 11 additions & 0 deletions mcs/errors/gcs0307-4.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// CS0307: The variable `d' cannot be used with type arguments
// Line: 9

public class Tests
{
public static void Main ()
{
var d = 0;
d<int> ();
}
}

0 comments on commit 280d429

Please sign in to comment.